diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-04-18 17:23:41 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-18 11:36:58 -0700 |
commit | a21e25536169432cf9174d631972bc1cd4c75062 (patch) | |
tree | 5414335eae4b34be3e0cc0374b81d8303c6a95af /Documentation/kernel-parameters.txt | |
parent | aefe6475720bd5eb8aacbc881488f3aa65618562 (diff) | |
download | linux-a21e25536169432cf9174d631972bc1cd4c75062.tar.gz linux-a21e25536169432cf9174d631972bc1cd4c75062.tar.bz2 linux-a21e25536169432cf9174d631972bc1cd4c75062.zip |
PM/Hibernate: Fix memory shrinking
Commit d979677c4c0 ("mm: shrink_all_memory(): use sc.nr_reclaimed")
broke the memory shrinking used by hibernation, becuse it did not update
shrink_all_zones() in accordance with the other changes it made.
Fix this by making shrink_all_zones() update sc->nr_reclaimed instead of
overwriting its value.
This fixes http://bugzilla.kernel.org/show_bug.cgi?id=13058
Reported-and-tested-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
0 files changed, 0 insertions, 0 deletions