diff options
author | Vikas Shivappa <[email protected]> | 2017-07-25 14:14:43 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-08-01 22:41:28 +0200 |
commit | 748b6b881ccdda8f0663c68605f431279e06f49a (patch) | |
tree | 57480342052d0f96215581be325b3d42fd6a7b83 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4be6c078428b08d1a948cc09faca8f1326231866 (diff) |
x86/intel_rdt/cqm: Add sched_in support
OS associates an RMID/CLOSid to a task by writing the per CPU
IA32_PQR_ASSOC MSR when a task is scheduled in.
The sched_in code will stay as no-op unless we are running on Intel SKU
which supports either resource control or monitoring and we also enable
them by mounting the resctrl fs. The per cpu CLOSid/RMID values are
cached and the write is performed only when a task with a different
CLOSid/RMID is scheduled in.
Signed-off-by: Vikas Shivappa <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/1501017287-28083-25-git-send-email-vikas.shivappa@linux.intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions