diff options
| author | Andrew Morton <[email protected]> | 2007-01-05 16:37:05 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-01-05 23:55:29 -0800 |
| commit | 76395d37611e8758dd8bd6c6f5bfcb31e1dc48f9 (patch) | |
| tree | 8002f85993ac66e46d4eac3d5bf41bc58581b769 /include/linux/debugobjects.h | |
| parent | d63b70902befe189ba2672925f28ec3f4db41352 (diff) | |
[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" <[email protected]>
Cc: Pavel Machek <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions