diff options
author | Christoph Lameter <clameter@sgi.com> | 2007-07-16 08:38:14 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-07-16 18:05:36 +0200 |
commit | f0630fff54a239efbbd89faf6a62da071ef1ff78 (patch) | |
tree | 4004adc3adf4dbe1a6188ca0bbd56f7606d4d05f /mm/mempolicy.c | |
parent | invalidate_mapping_pages(): add cond_resched (diff) | |
download | linux-f0630fff54a239efbbd89faf6a62da071ef1ff78.tar.xz linux-f0630fff54a239efbbd89faf6a62da071ef1ff78.zip |
SLUB: support slub_debug on by default
Add a new configuration variable
CONFIG_SLUB_DEBUG_ON
If set then the kernel will be booted by default with slab debugging
switched on. Similar to CONFIG_SLAB_DEBUG. By default slab debugging
is available but must be enabled by specifying "slub_debug" as a
kernel parameter.
Also add support to switch off slab debugging for a kernel that was
built with CONFIG_SLUB_DEBUG_ON. This works by specifying
slub_debug=-
as a kernel parameter.
Dave Jones wanted this feature.
http://marc.info/?l=linux-kernel&m=118072189913045&w=2
[akpm@linux-foundation.org: clean up switch statement]
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mempolicy.c')
0 files changed, 0 insertions, 0 deletions