]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] zone_reclaim: minor fixes
authorChristoph Lameter <clameter@engr.sgi.com>
Wed, 1 Feb 2006 11:05:29 +0000 (03:05 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 1 Feb 2006 16:53:15 +0000 (08:53 -0800)
commit9297cb7171e0098ec23a0505b5f82413e653d85c
treef1e31810b14a71ccbb9963e018076212eb267ee9
parent908bfd3650ab79eeb4815ba86af40e5cd5d470b3
[PATCH] zone_reclaim: minor fixes

- If we only reclaim nr_pages then its okay to stay on node.
  Switch from > to >= for the comparison.

- vm_table[] entry for zone_reclaim_mode is a bit screwed up.

- Add empty lines around shrink_zone to show that this is the
  central function to be called.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c
mm/vmscan.c