[LinuxPPS] 8 Oct 19:58 - mm: set_page_dirty_balance() vs
	->page_mkwrite()
    linuxpps: Peter Zijlstra <> 
    webmaster at enneenne.com
       
    Fri Oct 19 19:30:08 CEST 2007
    
    
  
mm: set_page_dirty_balance() vs ->page_mkwrite()  
  
All the current page_mkwrite() implementations also set the page dirty. Which  
results in the set_page_dirty_balance() call to _not_ call balance, because the  
page is already found dirty.  
  
This allows us to dirty a _lot_ of pages without ever hitting  
balance_dirty_pages(). Not good (tm).  
  
Force a balance call if ->page_mkwrite() was successful.  
  
Signed-off-by: Peter Zijlstra   
Signed-off-by: Linus Torvalds   
  
include/linux/writeback.h  
mm/memory.c  
mm/page-writeback.c
URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=a200ee182a016752464a12cb2e8762e48254bb09
    
    
More information about the LinuxPPS
mailing list