Searched hist:a21e25536169432cf9174d631972bc1cd4c75062 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/mm/ |
H A D | vmscan.c | diff a21e25536169432cf9174d631972bc1cd4c75062 Sat Apr 18 10:23:41 CDT 2009 Rafael J. Wysocki <rjw@sisk.pl> 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>
|