Skip to content

sched: arch_scale_smt_powers

Joel Schopp linuxppc-dev lkml 4 versions – In review

Get series with b4
b4 am 1265403466.6089.39.camel@jschopp-laptop

Versions newest first · linked by author and title

  1. v4 Latest2 patches 18 repliesIn review
  2. v32 patches 6 repliesSuperseded
  3. v22 patches 3 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v12 patches12 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2sched: enable ARCH_POWERarch/x86/kernel/cpu/sched.c kernel/sched_features.h+3 -50 replies
2/2powerpc: implement arch_scale_smt_power for Power7arch/powerpc/include/asm/cputable.h arch/powerpc/kernel/smp.c+60 -118 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [PATCHv4 0/2] sched: arch_scale_smt_powers

The new Power7 processor has 4 way SMT. This 4 way SMT benefits from dynamic power updates that arch_scale_smt_power was designed to provide. The first patch fixes a generic scheduler bug necessary for arch_scale_smt to properly function. The second patch implements arch_scale_smt_power for powerpc, and in particular for Power7 processors.

Version 2 changes:
- Drop Patch 1 from the original series since it's in the -tip tree now
- Move enabling the cpu feature into it's own patch (now patch 1)
- Add stubbing out broken x86 implementation to patch 1
- clean up coding style in patch 2

Version 3 changes:
- Added a comment to Patch 2

Version 4 changes:
- Wrap arch_scale_smt_power() in #ifdef CONFIG_SCHED_SMT in Patch 2

---
Joel Schopp (2):
sched: enable ARCH_POWER
powerpc: implement arch_scale_smt_power for Power7

 arch/powerpc/include/asm/cputable.h |    3 +
 arch/powerpc/kernel/smp.c           |   58
++++++++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/sched.c         |    6 +--
 kernel/sched_features.h             |    2 -
 4 files changed, 63 insertions(+), 6 deletions(-)