]> git.hungrycats.org Git - linux/commit
[PATCH] vmscan: handle empty zones
authorAndrew Morton <akpm@osdl.org>
Fri, 8 Oct 2004 00:32:49 +0000 (17:32 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Fri, 8 Oct 2004 00:32:49 +0000 (17:32 -0700)
commitd3e540588299ff7540fc3cb5cab632a29940ac31
tree29c59ee1f8fafc4dfa3352903bb09bd624ac34a4
parent70d88abf9994ff042b8c715de069ed92fce16cf1
[PATCH] vmscan: handle empty zones

There's a lockup condition where kswapd ensounters an empty zone which has all
its metadata set to zero.

Fix that by adding explicit checks for empty zones and just skip over them.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/vmscan.c