Messages in this thread | | | From | Jacob Pan <> | Subject | [PATCH 0/2] combine remote cpu msr access | Date | Fri, 11 Dec 2015 14:40:35 -0800 |
| |
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.
Jacob Pan (2): x86/msr: add on cpu read/modify/write function powercap/rapl: reduce ipi calls
arch/x86/include/asm/msr.h | 24 +++++++++++++++ arch/x86/lib/msr-smp.c | 47 ++++++++++++++++++++++++++++ drivers/powercap/intel_rapl.c | 71 ++++++++++++++++++++++--------------------- 3 files changed, 108 insertions(+), 34 deletions(-)
-- 1.9.1
| |