Skip to content

powerpc: Enable dynamic preemption

Shrikanth Hegde linuxppc-dev lkml 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest1 patch 38 repliesIn review
  2. v31 patch 8 repliesSuperseded
  3. v21 patch 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v13 patches13 repliesSuperseded

Changes in v4 from the cover letter

- Use static key instead of using preempt_model_preemptible (Sebastian Andrzej Siewior and Christophe Leroy)
- Dropped printing the preemption model, since it is addressed in a patchset from Sebastian Andrzej Siewior

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1powerpc: enable dynamic preemptionarch/powerpc/Kconfig arch/powerpc/include/asm/preempt.h arch/powerpc/kernel/interrupt.c +1 more+23 -238 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 0/1] powerpc: Enable dynamic preemption

Now that preempt=lazy patches are merged upstream, sending out the patch to support dynamic preemption based on DYNAMIC_KEY.

Once the arch supports static inline calls, it would be needed to evaluate to see if that gives better performance.

This makes the same code for arm64 and powerpc. Will be sending an RFC patch to move this static key into sched/core.

v3->v4:
- Use static key instead of using preempt_model_preemptible (Sebastian Andrzej Siewior and Christophe Leroy)
- Dropped printing the preemption model, since it is addressed in a patchset from Sebastian Andrzej Siewior

v2->v3:
- fixed a build error reported by linux test robot by including jump label header.

v1->v2:
- Instead of copying asm-generic preempt.h content include it in arch/asm preempt.h. (Christophe Leroy)
- Merge the patches into one patch (Christophe Leroy)

v3: https://lore.kernel.org/all/[email protected]/

Shrikanth Hegde (1):
powerpc: enable dynamic preemption

 arch/powerpc/Kconfig               |  1 +
 arch/powerpc/include/asm/preempt.h | 16 ++++++++++++++++
 arch/powerpc/kernel/interrupt.c    |  6 +++++-
 arch/powerpc/lib/vmx-helper.c      |  2 +-
 4 files changed, 23 insertions(+), 2 deletions(-)
 create mode 100644 arch/powerpc/include/asm/preempt.h
Signature · 1 line
2.39.3