lkml.org 
[lkml]   [2015]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] combine remote cpu msr access
Date
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



\
 
 \ /
  Last update: 2015-12-12 00:01    [W:0.036 / U:0.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site