diff options
author | Anton Blanchard <anton@samba.org> | 2007-10-14 15:15:36 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-17 08:30:08 -0400 |
commit | 309a109255cce65a99ced7a2bcabce24f4752db4 (patch) | |
tree | 7d2170a47eabfda0ebbff935ee2a289604a0ef21 /arch/powerpc/configs/walnut_defconfig | |
parent | f5534004e5296496aa559d65c91befd02bf91d05 (diff) |
[POWERPC] Enable SLUB in *_defconfig
When checking out the new NO_HZ support in powerpc, I noticed we never
slept for more than 2 seconds. It turns out SLAB has a 2 second per cpu
timer that causes this.
After switching to SLUB I see some nice 4 second sleeps which is the
limit on this POWER6 box (the decrementer ticks at 512MHz):
slept 4.19 sec
slept 4.19 sec
slept 4.19 sec
slept 4.19 sec
slept 3.96 sec
slept 3.80 sec
slept 2.99 sec
Since SLUB is now the default and some powerpc defconfigs already enable
it, lets enable SLUB across the board for consistency. While doing this
I also noticed that the maple defconfig has SLAB debugging enabled which
is sure to make your box nice and slow. Fix that too.
Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/configs/walnut_defconfig')
-rw-r--r-- | arch/powerpc/configs/walnut_defconfig | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/powerpc/configs/walnut_defconfig b/arch/powerpc/configs/walnut_defconfig index 766bf840c18d..7724292cc06d 100644 --- a/arch/powerpc/configs/walnut_defconfig +++ b/arch/powerpc/configs/walnut_defconfig | |||
@@ -87,8 +87,9 @@ CONFIG_TIMERFD=y | |||
87 | CONFIG_EVENTFD=y | 87 | CONFIG_EVENTFD=y |
88 | CONFIG_SHMEM=y | 88 | CONFIG_SHMEM=y |
89 | CONFIG_VM_EVENT_COUNTERS=y | 89 | CONFIG_VM_EVENT_COUNTERS=y |
90 | CONFIG_SLAB=y | 90 | CONFIG_SLUB_DEBUG=y |
91 | # CONFIG_SLUB is not set | 91 | # CONFIG_SLAB is not set |
92 | CONFIG_SLUB=y | ||
92 | # CONFIG_SLOB is not set | 93 | # CONFIG_SLOB is not set |
93 | CONFIG_RT_MUTEXES=y | 94 | CONFIG_RT_MUTEXES=y |
94 | # CONFIG_TINY_SHMEM is not set | 95 | # CONFIG_TINY_SHMEM is not set |
@@ -706,7 +707,7 @@ CONFIG_DETECT_SOFTLOCKUP=y | |||
706 | CONFIG_SCHED_DEBUG=y | 707 | CONFIG_SCHED_DEBUG=y |
707 | # CONFIG_SCHEDSTATS is not set | 708 | # CONFIG_SCHEDSTATS is not set |
708 | # CONFIG_TIMER_STATS is not set | 709 | # CONFIG_TIMER_STATS is not set |
709 | # CONFIG_DEBUG_SLAB is not set | 710 | # CONFIG_SLUB_DEBUG_ON is not set |
710 | # CONFIG_DEBUG_RT_MUTEXES is not set | 711 | # CONFIG_DEBUG_RT_MUTEXES is not set |
711 | # CONFIG_RT_MUTEX_TESTER is not set | 712 | # CONFIG_RT_MUTEX_TESTER is not set |
712 | # CONFIG_DEBUG_SPINLOCK is not set | 713 | # CONFIG_DEBUG_SPINLOCK is not set |