commit | f0bc0a60b13f209df16062f94e9fb4b90dc08708 | [log] [tgz] |
---|---|---|
author | KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> | Thu Jan 13 15:45:50 2011 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Thu Jan 13 17:32:32 2011 -0800 |
tree | c876603d2cb17a3e2ed159ca5e08e4665cc09fe2 | |
parent | c3f0da631539b3b8e17f6dda567af9958d49d14f [diff] |
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>