summaryrefslogtreecommitdiffstats
path: root/mm/slub.c
diff options
context:
space:
mode:
authorStanislaw Gruszka2012-01-11 00:07:31 +0100
committerLinus Torvalds2012-01-11 01:30:42 +0100
commitc6968e73b90c2a2fb9a32d4bad249f8f70f70125 (patch)
tree67ec90fc8e187fcf316298dd9d514bbbbbc8f187 /mm/slub.c
parentmm: more intensive memory corruption debugging (diff)
downloadkernel-qcow2-linux-c6968e73b90c2a2fb9a32d4bad249f8f70f70125.tar.gz
kernel-qcow2-linux-c6968e73b90c2a2fb9a32d4bad249f8f70f70125.tar.xz
kernel-qcow2-linux-c6968e73b90c2a2fb9a32d4bad249f8f70f70125.zip
PM/Hibernate: do not count debug pages as savable
When debugging with CONFIG_DEBUG_PAGEALLOC and debug_guardpage_minorder > 0, we have lot of free pages that are not marked so. Snapshot code account them as savable, what cause hibernate memory preallocation failure. It is pretty hard to make hibernate allocation succeed with debug_guardpage_minorder=1. This change at least make it possible when system has relatively big amount of RAM. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Acked-by: Rafael J. Wysocki <rjw@sisk.pl> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Christoph Lameter <cl@linux-foundation.org> Cc: Mel Gorman <mgorman@suse.de> Cc: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/slub.c')
0 files changed, 0 insertions, 0 deletions