[PATCH 0/1] powerpc, arm64: move preempt dynamic key into kernel/sched
Shrikanth Hegde
sshegde at linux.ibm.com
Tue Jun 10 00:53:43 PDT 2025
Current usage of preempt dynamic key is not specific to architecture and
can be moved into sched/core instead. Most of the code around it looks
similar. (same code for powerpc, arm64).
Since preemption is more associated with scheduler rather than
entry/exit, it is probably better that they should be moved.
This is tested on powerVM PREEMPT_DYNAMIC=y/n.
Only Compile tested on arm64. It would be great if someone can test both
PREEMPT_DYNAMIC=y/n configs there.
Shrikanth Hegde (1):
sched: preempt: Move dynamic keys into kernel/sched
arch/arm64/include/asm/preempt.h | 1 -
arch/arm64/kernel/entry-common.c | 8 --------
arch/powerpc/include/asm/preempt.h | 16 ----------------
arch/powerpc/kernel/interrupt.c | 4 ----
include/linux/entry-common.h | 1 -
include/linux/sched.h | 8 ++++++++
kernel/entry/common.c | 1 -
kernel/sched/core.c | 4 ++++
8 files changed, 12 insertions(+), 31 deletions(-)
delete mode 100644 arch/powerpc/include/asm/preempt.h
--
2.43.0
More information about the linux-arm-kernel
mailing list