Skip to content

Reduce IPI calls for remote msr access

Jacob Pan linux-pm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 18 repliesIn review
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

(based on feedback from Thomas Gleixner)
- remove duplicated !CONFIG_SMP code
- rename variables
- added a check for local CPU before searching for active CPU oni the package

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2x86/msr: add on cpu read/modify/write functionarch/x86/include/asm/msr.h arch/x86/lib/msr-smp.c arch/x86/lib/msr.c+65 -00 replies
2/2powercap/rapl: reduce ipi callsdrivers/powercap/intel_rapl.c+42 -3518 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/2] Reduce IPI calls for remote msr access

IPI calls to access MSRs on remote CPUs are expensive. So add a lib call for read/modify/write access and use it in Intel RAPL driver.

Changes since v1:
(based on feedback from Thomas Gleixner)
- remove duplicated !CONFIG_SMP code
- rename variables
- added a check for local CPU before searching for active CPU oni the package

Jacob Pan (2):
x86/msr: add on cpu read/modify/write function
powercap/rapl: reduce ipi calls

 arch/x86/include/asm/msr.h    | 13 ++++++++
 arch/x86/lib/msr-smp.c        | 34 +++++++++++++++++++
 arch/x86/lib/msr.c            | 18 ++++++++++
 drivers/powercap/intel_rapl.c | 77 +++++++++++++++++++++++--------------------
 4 files changed, 107 insertions(+), 35 deletions(-)
Signature · 1 line
1.9.1