]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
vmscan: factor out kswapd sleeping logic from kswapd()
authorKOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Thu, 13 Jan 2011 23:45:50 +0000 (15:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:32 +0000 (17:32 -0800)
commitf0bc0a60b13f209df16062f94e9fb4b90dc08708
treec876603d2cb17a3e2ed159ca5e08e4665cc09fe2
parentc3f0da631539b3b8e17f6dda567af9958d49d14f
vmscan: factor out kswapd sleeping logic from kswapd()

Currently, kswapd() has deep nesting and is slightly hard to read.  Clean
this up.

Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmscan.c