]> git.karo-electronics.de Git - karo-tx-linux.git/commit
slub: min order when debug_guardpage_minorder > 0
authorStanislaw Gruszka <sgruszka@redhat.com>
Thu, 8 Dec 2011 04:41:47 +0000 (15:41 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Dec 2011 04:52:36 +0000 (15:52 +1100)
commited97b4f9a6a0c925c7dfde5cc6cf2bfe25f36aff
tree24be0dcbd6854f8db3b4c035ee1f95517f9f89b9
parent49b9b13552a0fa13d54d805329a4e5e805be0634
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