Skip to content

powerpc, arm64: move preempt dynamic key into kernel/sched

Shrikanth Hegde linuxppc-dev lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest1 patch 2 repliesIn review
  2. v11 patch 5 repliesSuperseded

Changes in v2 from the cover letter

- Rebase to 6.16-rc6
- Collected the tags

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1sched: preempt: Move dynamic keys into kernel/schedarch/arm64/include/asm/preempt.h arch/arm64/kernel/entry-common.c arch/powerpc/include/asm/preempt.h +5 more+12 -312 replies

Reviews trailers per patch

The patch has a Reviewed-by or Acked-by.

PatchMark RutlandWill DeaconMadhavan SrinivasanVenkat Rao Bagalkote
1/1A-b A-b A-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/1] powerpc, arm64: move preempt dynamic key into kernel/sched

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 it should be moved.

This is tested on powerVM PREEMPT_DYNAMIC=y/n and on arm64 by Mark

v1->v2:
- Rebase to 6.16-rc6
- Collected the tags

Ingo, Peter,
Can this go via tip sched tree?

Both arm64, powerpc have acked the changes and been tested.

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/irq-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
Signature · 1 line
2.43.0