Skip to content

Commit

Permalink
parisc: Use page table locks only if DEBUG_KERNEL is enabled
Browse files Browse the repository at this point in the history
The usage of page table locks in TLB fault handler is usually
only needed when debugging the kernel. So make this configuration
option dependend on DEBUG_KERNEL.

Signed-off-by: Helge Deller <deller@gmx.de>
  • Loading branch information
Helge Deller committed Aug 20, 2023
1 parent 75c6d08 commit 51c70a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/parisc/Kconfig.debug
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ config LIGHTWEIGHT_SPINLOCK_CHECK

config TLB_PTLOCK
bool "Use page table locks in TLB fault handler"
depends on SMP
depends on DEBUG_KERNEL && SMP
default n
help
Select this option to enable page table locking in the TLB
Expand Down

0 comments on commit 51c70a0

Please sign in to comment.