[PATCH] PPC64 can do preempt debug too
Ingo Molnar
mingo at elte.hu
Sun Jan 16 01:00:44 EST 2005
* Paul Mackerras <paulus at samba.org> wrote:
> This patch enables the DEBUG_PREEMPT config option for PPC64. I have
> this turned on on my desktop G5 and it isn't finding any problems. (It
> did find one problem, in flush_tlb_pending(), that I have just sent a
> patch for.)
>
> BTW, do we really need to restrict which architectures the config
> option is available on?
in the case of x86 (and x64) i found that there were a fair number of
false positives in arch-level code. But i agree that we should (now)
make the config option available to all architectures - patch against
2.6.11-rc1 below.
Ingo
Signed-off-by: Ingo Molnar <mingo at elte.hu>
--- linux/lib/Kconfig.debug.orig
+++ linux/lib/Kconfig.debug
@@ -50,7 +50,7 @@ config DEBUG_SLAB
config DEBUG_PREEMPT
bool "Debug preemptible kernel"
- depends on PREEMPT && X86
+ depends on PREEMPT
default y
help
If you say Y here then the kernel will use a debug variant of the
More information about the Linuxppc64-dev
mailing list