Rafael J. Wysocki
a21e255361
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>
2009-04-18 11:36:58 -07:00
..
2009-04-06 13:44:15 -07:00
2009-04-06 08:04:53 -07:00
2009-03-01 16:06:56 +09:00
2008-12-29 08:29:52 +01:00
2009-04-01 08:59:13 -07:00
2008-04-28 08:58:20 -07:00
2009-01-14 14:15:18 +01:00
2009-04-03 12:23:01 +02:00
2009-04-02 19:04:49 -07:00
2009-04-16 07:47:49 -07:00
2009-02-10 10:48:42 -08:00
2009-04-01 08:59:14 -07:00
2009-04-01 08:59:13 -07:00
2009-04-01 08:59:14 -07:00
2009-04-13 15:04:31 -07:00
2009-04-02 19:04:48 -07:00
2008-04-17 20:05:39 +02:00
2009-01-14 14:15:24 +01:00
2009-04-01 08:59:13 -07:00
2009-04-13 15:04:32 -07:00
2009-01-06 15:59:01 -08:00
2009-04-01 08:59:14 -07:00
2009-01-14 14:15:30 +01:00
2009-04-03 16:42:36 +01:00
2009-01-14 14:15:24 +01:00
2009-02-17 14:27:39 -08:00
2008-08-20 15:40:30 -07:00
2009-04-16 14:41:25 -07:00
2008-07-28 16:30:21 -07:00
2008-09-13 14:41:52 -07:00
2009-02-10 10:48:42 -08:00
2009-01-14 14:15:23 +01:00
2009-01-14 14:15:23 +01:00
2009-04-02 19:04:48 -07:00
2009-04-02 19:04:55 -07:00
2009-04-05 10:33:07 -07:00
2009-04-02 19:04:56 -07:00
2009-02-18 10:32:00 +01:00
2008-11-06 15:41:19 -08:00
2009-04-01 08:59:13 -07:00
2008-06-12 18:05:41 -07:00
2009-04-07 08:31:03 -07:00
2009-03-10 16:27:48 +09:00
2009-03-13 14:49:46 +10:30
2009-04-03 16:42:36 +01:00
2009-02-11 14:25:35 -08:00
2008-07-26 20:53:14 -04:00
2009-04-13 15:04:33 -07:00
2009-04-06 13:30:00 -07:00
2009-04-03 12:23:10 +02:00
2009-04-03 12:23:10 +02:00
2008-11-06 15:41:19 -08:00
2009-04-01 08:59:11 -07:00
2009-01-08 08:31:05 -08:00
2009-04-03 16:42:36 +01:00
2009-02-21 14:17:17 -08:00
2009-04-03 16:42:36 +01:00
2009-04-13 15:04:32 -07:00
2009-04-01 08:59:11 -07:00
2009-04-18 11:36:58 -07:00
2009-04-02 19:04:48 -07:00