Skip to content

Commit ceba1ab

Browse files
antonblanchardozbenh
authored andcommitted
powerpc/cpumask: Add DEBUG_PER_CPU_MAPS option
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>
1 parent 2ef613c commit ceba1ab

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎arch/powerpc/Kconfig.debug‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ config DEBUG_STACK_USAGE
4444

4545
This option will slow down process creation somewhat.
4646

47+
config DEBUG_PER_CPU_MAPS
48+
bool "Debug access to per_cpu maps"
49+
depends on DEBUG_KERNEL
50+
depends on SMP
51+
default n
52+
---help---
53+
Say Y to verify that the per_cpu map being accessed has
54+
been setup. Adds a fair amount of code to kernel memory
55+
and decreases performance.
56+
57+
Say N if unsure.
58+
4759
config HCALL_STATS
4860
bool "Hypervisor call instrumentation"
4961
depends on PPC_PSERIES && DEBUG_FS && TRACEPOINTS

0 commit comments

Comments
 (0)