]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
powerpc/cpumask: Add DEBUG_PER_CPU_MAPS option
authorAnton Blanchard <anton@samba.org>
Mon, 26 Apr 2010 15:32:46 +0000 (15:32 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 6 May 2010 08:05:26 +0000 (18:05 +1000)
Enable the DEBUG_PER_CPU_MAPS option so we can look for problems with
cpumasks .

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/Kconfig.debug

index 5cdd7ed9a12e89abe0b4eec8cbe9155b7dfacd9e..53696da4518f9569aabf9a4b668cb725f1a5c4a1 100644 (file)
@@ -44,6 +44,18 @@ config DEBUG_STACK_USAGE
 
          This option will slow down process creation somewhat.
 
+config DEBUG_PER_CPU_MAPS
+       bool "Debug access to per_cpu maps"
+       depends on DEBUG_KERNEL
+       depends on SMP
+       default n
+       ---help---
+         Say Y to verify that the per_cpu map being accessed has
+         been setup.  Adds a fair amount of code to kernel memory
+         and decreases performance.
+
+         Say N if unsure.
+
 config HCALL_STATS
        bool "Hypervisor call instrumentation"
        depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS