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)
commita978d6f521063514812a7094dbe5036e056e4de3
treeaaaed7caff558d8f9676f8cfd16b50ae6ca99573
parentf45840b5c128445da70e7ec33adc47b4a12bdaf4
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