aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/connector/cn_proc.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2007-01-05 16:37:05 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2007-01-05 23:55:29 -0800
commit76395d37611e8758dd8bd6c6f5bfcb31e1dc48f9 (patch)
tree8002f85993ac66e46d4eac3d5bf41bc58581b769 /drivers/connector/cn_proc.c
parent[PATCH] fix garbage instead of zeroes in UFS (diff)
downloadlinux-dev-76395d37611e8758dd8bd6c6f5bfcb31e1dc48f9.tar.xz
linux-dev-76395d37611e8758dd8bd6c6f5bfcb31e1dc48f9.zip
[PATCH] shrink_all_memory(): fix lru_pages handling
At the end of shrink_all_memory() we forget to recalculate lru_pages: it can be zero. Fix that up, and add a helper function for this operation too. Also, recalculate lru_pages each time around the inner loop to get the balancing correct. Cc: "Rafael J. Wysocki" <rjw@sisk.pl> Cc: Pavel Machek <pavel@ucw.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/connector/cn_proc.c')
0 files changed, 0 insertions, 0 deletions