]> git.karo-electronics.de Git - karo-tx-linux.git/commit
slub: min order when debug_guardpage_minorder > 0
authorStanislaw Gruszka <sgruszka@redhat.com>
Wed, 30 Nov 2011 04:11:30 +0000 (15:11 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 30 Nov 2011 04:13:49 +0000 (15:13 +1100)
commitfaf148a7c97df9d6eab9ec4dc676a73822c07867
tree27e1cb4f743334649c080522681130ee388efc10
parent0059af46bf9bddc1db61b5114d7258ec7bf8eee9
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