Thread (2 messages) 2 messages, 2 authors, 28d ago

Re: [PATCH] powerpc/32: Use HAVE_PREEMPT_DYNAMIC_CALL instead of HAVE_PREEMPT_DYNAMIC_KEY

From: Shrikanth Hegde <hidden>
Date: 2026-06-19 12:32:46
Also in: lkml

Hi Christophe.

On 6/19/26 4:28 PM, Christophe Leroy (CS GROUP) wrote:
powerpc/32 has HAVE_STATIC_CALL_INLINE, so
HAVE_PREEMPT_DYNAMIC_CALL has to be selected instead of
HAVE_PREEMPT_DYNAMIC_KEY for less overhead.
Do you have any way to quantify this overhead?

quoted hunk ↗ jump to hunk
Fixes: 6ad7751537e8 ("powerpc: enable dynamic preemption")
Signed-off-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
---
  arch/powerpc/Kconfig | 3 ++-
  1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 81642206f7de..7475907cef5b 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -281,7 +281,8 @@ config PPC
  	select HAVE_PERF_EVENTS_NMI		if PPC64
  	select HAVE_PERF_REGS
  	select HAVE_PERF_USER_STACK_DUMP
-	select HAVE_PREEMPT_DYNAMIC_KEY
+	select HAVE_PREEMPT_DYNAMIC_CALL	if PPC32
+	select HAVE_PREEMPT_DYNAMIC_KEY		if PPC64
  	select HAVE_RETHOOK			if KPROBES
  	select HAVE_REGS_AND_STACK_ACCESS_API
  	select HAVE_RELIABLE_STACKTRACE
Patch per se, looks good to me.

Reviewed-by: Shrikanth Hegde <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help