Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite()

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Nick Piggin <nickpiggin@...>
Cc: Peter Zijlstra <peterz@...>, linux-kernel <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Christoph Hellwig <hch@...>, David Howells <dhowells@...>, Dave Chinner <dgc@...>, Trond Myklebust <trond.myklebust@...>, <mark.fasheh@...>, hugh <hugh@...>, stable <stable@...>
Date: Monday, October 8, 2007 - 7:36 pm

On Mon, Oct 08, 2007 at 04:37:00PM +1000, Nick Piggin wrote:

block_page_mkwrite() is just using generic interfaces to do this,
same as pretty much any write() system call. The idea was to make it
as similar to the write() call path as possible...

However, unlike generic_file_buffered_write(), we are not calling
balance_dirty_pages_ratelimited(mapping) between
->prepare/commit_write call pairs.  Perhaps this should be added to
block_page_mkwrite() after the page is unlocked....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] mm: set_page_dirty_balance() vs ->page_mkwrite(), David Chinner, (Mon Oct 8, 7:36 pm)