On Tue, Sep 20, 2011 at 02:38:03PM -0400, Rik van Riel wrote: > On 09/20/2011 10:25 AM, Christoph Hellwig wrote: > >In addition to regular write shouldn't __do_fault and do_wp_page also > >calls this if they are called on file backed mappings? > > > > Probably not do_wp_page since it always creates an > anonymous page, which are not very relevant to the > dirty page cache accounting. Well, it doesn't always - but for the case where it doesn't we do not allocate a new page at all so you're right in the end :) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [patch 3/4] mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin(), Rik van Riel |
|---|---|
| Next by Date: | Re: [patch 4/4] Btrfs: pass __GFP_WRITE for buffered write page allocations, Rik van Riel |
| Previous by Thread: | Re: [patch 3/4] mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin(), Rik van Riel |
| Next by Thread: | Re: [patch 3/4] mm: filemap: pass __GFP_WRITE from grab_cache_page_write_begin(), Johannes Weiner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |