]> git.karo-electronics.de Git - karo-tx-linux.git/commit
slub: min order when debug_guardpage_minorder > 0
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 2 Dec 2011 03:12:03 +0000 (14:12 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 2 Dec 2011 03:15:34 +0000 (14:15 +1100)
commit4c259e901f9b50df8018a12bf915796e45d28bbe
tree8b33fe7c23fe2171fd5711115a5387ab70680cbe
parent83d48641798fd98a3b63f2ea9daffa9bd8b40df7
slub: min order when debug_guardpage_minorder > 0

Disable slub debug facilities and allocate slabs at minimal order when
debug_guardpage_minorder > 0 to increase probability to catch random
memory corruption by cpu exception.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Christoph Lameter <cl@linux.com>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Stanislaw Gruszka <sgruszka@redhat.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/slub.c