sparc64: Make SLUB the default allocator
PATCH 1/1 sparc64: Make SLUB the default allocator
SLUB has better debugging support.
--- arch/sparc/configs/sparc64_defconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
arch/sparc/configs/sparc64_defconfig +3 -1
@@ -7,7 +7,9 @@ CONFIG_LOG_BUF_SHIFT CONFIG_BLK_DEV_INITRD=y CONFIG_PERF_EVENTS=y # CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y +CONFIG_SLUB_DEBUG=y +CONFIG_SLUB=y +CONFIG_SLUB_CPU_PARTIAL=y CONFIG_PROFILING=y CONFIG_OPROFILE=m CONFIG_KPROBES=y
Signature · 1 line
2.9.2
David Miller
maintainerFrom: Nitin Gupta <[email protected]>
Date: Wed, 26 Oct 2016 15:27:56 -0700
Quoted 3 lines
SLUB has better debugging support.
Signed-off-by Nitin Gupta <[email protected]>
...
arch/sparc/configs/sparc64_defconfig CONFIG_LOG_BUF_SHIFT · line 15
Quoted 11 lines
arch/sparc/configs/sparc64_defconfig +3
-1@@ -7,7 +7,9 @@ CONFIG_LOG_BUF_SHIFT CONFIG_BLK_DEV_INITRD=y CONFIG_PERF_EVENTS=y # CONFIG_COMPAT_BRK is not set -CONFIG_SLAB=y +CONFIG_SLUB_DEBUG=y +CONFIG_SLUB=y +CONFIG_SLUB_CPU_PARTIAL=y CONFIG_PROFILING=y CONFIG_OPROFILE=m CONFIG_KPROBES=y
This patch made me try to find guidance on other architectures as to what they put in their defconfig files.
And it seems to me that they leave things like this to the user, and the defconfig only really contains things that really are required by the architecture or are architecture specific.
So maybe instead of making arbitrary choices for these values which one set of users want and another set of users do not (I prefer SLAB, it is faster, and I know what the downsides wrt. NUMA balancing compared to SLAB are and am willing to accept that), we should do what other platforms do and not specify things like this at all.