From dce17327ba73351960c3225226eaa4d225af193c Mon Sep 17 00:00:00 2001 From: Emmanuel Berthier Date: Tue, 12 Jun 2012 13:19:11 +0200 Subject: [PATCH] Kernel config: Enable SLUB allocator debugging BZ: 39652 In order to be able to debug kernel memory corruptions (generating Paging request BUGs), it could be useful to activate SLUB allocator debugging features. Signed-off-by: Emmanuel Berthier Change-Id: I1687bae9cb750a1856c4b4d8646b495f8315a317 Reviewed-on: http://android.intel.com:8080/52492 Reviewed-by: Yang, Fei Tested-by: Ng, Cheon-woei Reviewed-by: buildbot Tested-by: buildbot --- arch/x86/configs/i386_ctp_defconfig | 5 +++-- arch/x86/configs/i386_mfld_defconfig | 2 +- arch/x86/configs/i386_mrfl_defconfig | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/configs/i386_ctp_defconfig b/arch/x86/configs/i386_ctp_defconfig index 885b3ee..e81baed 100644 --- a/arch/x86/configs/i386_ctp_defconfig +++ b/arch/x86/configs/i386_ctp_defconfig @@ -182,8 +182,9 @@ CONFIG_PERF_COUNTERS=y CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y -# CONFIG_SLUB is not set +# CONFIG_SLAB is not set +CONFIG_SLUB=y +CONFIG_SLUB_DEBUG=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y diff --git a/arch/x86/configs/i386_mfld_defconfig b/arch/x86/configs/i386_mfld_defconfig index c0ad4e5..6014aa2 100644 --- a/arch/x86/configs/i386_mfld_defconfig +++ b/arch/x86/configs/i386_mfld_defconfig @@ -184,7 +184,7 @@ CONFIG_PCI_QUIRKS=y # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set CONFIG_SLUB=y -# CONFIG_SLUB_DEBUG is not set +CONFIG_SLUB_DEBUG=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y diff --git a/arch/x86/configs/i386_mrfl_defconfig b/arch/x86/configs/i386_mrfl_defconfig index ee0e6be..1644ca1 100644 --- a/arch/x86/configs/i386_mrfl_defconfig +++ b/arch/x86/configs/i386_mrfl_defconfig @@ -182,10 +182,10 @@ CONFIG_PERF_COUNTERS=y # CONFIG_DEBUG_PERF_USE_VMALLOC is not set CONFIG_VM_EVENT_COUNTERS=y CONFIG_PCI_QUIRKS=y -# CONFIG_SLUB_DEBUG is not set # CONFIG_COMPAT_BRK is not set # CONFIG_SLAB is not set CONFIG_SLUB=y +CONFIG_SLUB_DEBUG=y # CONFIG_SLOB is not set CONFIG_PROFILING=y CONFIG_TRACEPOINTS=y -- 2.7.4