lkml.org 
[lkml]   [2006]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Default CONFIG_DEBUG_MUTEXES to n
On Sat, Apr 15, 2006 at 03:45:38PM -0700, Martin J. Bligh wrote:
> CONFIG_DEBUG_MUTEXES has a significant performant impact (reduced perf
> of reaim by 50% on ia32 NUMA boxes). It should not be on by default.
>
> Signed-off-by: Martin J. Bligh <mbligh@google.com>
>
>

> diff -aurpN -X /home/mbligh/.diff.exclude linux-2.6.17-rc1/lib/Kconfig.debug 2.6.17-rc1_no_mutex_dbg/lib/Kconfig.debug
> --- linux-2.6.17-rc1/lib/Kconfig.debug 2006-04-15 15:28:54.000000000 -0700
> +++ 2.6.17-rc1_no_mutex_dbg/lib/Kconfig.debug 2006-04-15 15:44:14.000000000 -0700
> @@ -101,7 +101,7 @@ config DEBUG_PREEMPT
>
> config DEBUG_MUTEXES
> bool "Mutex debugging, deadlock detection"
> - default y
> + default n
>...
> config DEBUG_SPINLOCK
> bool "Spinlock debugging"
> + default n
>...

"default n" has no effect and can be removed.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-04-16 01:09    [W:0.023 / U:2.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site