]> git.baikalelectronics.ru Git - kernel.git/commit
mm: unlockless reclaim
authorNick Piggin <npiggin@suse.de>
Sun, 19 Oct 2008 03:26:58 +0000 (20:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 20 Oct 2008 15:52:32 +0000 (08:52 -0700)
commitaf6cc80059d79fa49efd59354213f86bbcae8f8b
treeaaaed7caff558d8f9676f8cfd16b50ae6ca99573
parent75236261475d7e3eb45a8181e136a2aaa9ac8b12
mm: unlockless reclaim

unlock_page is fairly expensive.  It can be avoided in page reclaim
success path.  By definition if we have any other references to the page
it would be a bug anyway.

Signed-off-by: Nick Piggin <npiggin@suse.de>
Reviewed-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c