Skip to content

powercap/rapl: reduce ipi calls and misc clean up

Jacob Pan linux-pm lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest4 patches 3 repliesIn review
  2. v52 patches 3 repliesSuperseded
  3. v42 patches 3 repliesSuperseded

Changes in v6 from the cover letter

- Split changes into seprate patches. No code change.

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cpumask: export cpumask_any_butlib/cpumask.c+1 -00 replies
2/4powercap/rapl: reduce ipi callsdrivers/powercap/intel_rapl.c+85 -340 replies
3/4powercap/rapl: add package reference per domaindrivers/powercap/intel_rapl.c+21 -450 replies
4/4powercap/rapl: track lead cpu per packagedrivers/powercap/intel_rapl.c+20 -390 replies

Reviews trailers per patch

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

Read the v6 thread

Cover letter [PATCH v6 0/4] powercap/rapl: reduce ipi calls and misc clean up

Changes since v5:
- Split changes into seprate patches. No code change.
Changes since V4:
- Deleted unnecessary cpumask_any_and() call, assign first cpu as lead
Changes since V3:
- Avoid for_each_online_cpu() search for per package MSR access. This is achieved by tracking a per package lead cpu via cpumask_xx() calls. (suggested by Thomas Gleixner <[email protected]>)
- Add direct reference of RAPL package for each RAPL domain.

Jacob Pan (4):
cpumask: export cpumask_any_but
powercap/rapl: reduce ipi calls
powercap/rapl: add package reference per domain
powercap/rapl: track lead cpu per package

 drivers/powercap/intel_rapl.c | 220 ++++++++++++++++++++++--------------------
 lib/cpumask.c                 |   1 +
 2 files changed, 115 insertions(+), 106 deletions(-)
Signature · 1 line
1.9.1