[LinuxPPS] 8 Jul 17:13 - mm: double mark_page_accessed() in read_cache_page_async()

linuxpps: Peter Zijlstra <> webmaster at enneenne.com
Tue Jul 17 19:45:10 CEST 2007


mm: double mark_page_accessed() in read_cache_page_async()  
  
Fix a post-2.6.21 regression.  
  
read_cache_page_async() has two invocations of mark_page_accessed() which will  
launch pages right onto the active list.  
  
Remove the first one, keeping the latter one. This avoids marking unwanted  
pages active (in the retry loop).  
  
Signed-off-by: Peter Zijlstra   
Acked-by: Nick Piggin   
Signed-off-by: Andrew Morton   
Signed-off-by: Linus Torvalds   
  
mm/filemap.c

URL: http://gitweb.enneenne.com/?p=linuxpps;a=commit;h=4e99325b462ba18075768582621af74a6b79d2a5



More information about the LinuxPPS mailing list