]> asedeno.scripts.mit.edu Git - linux.git/commit
x86/intel_rdt: Limit C-states dynamically when pseudo-locking active
authorReinette Chatre <reinette.chatre@intel.com>
Fri, 22 Jun 2018 22:42:30 +0000 (15:42 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 24 Jun 2018 13:35:48 +0000 (15:35 +0200)
commit6fc0de37f663278af160e8e1f0c38b27e6c06206
tree2001f39bf5a067d0c43d2576f24ba6a2191999d7
parentf3be1e7b2cf8bc096386a3588fc640b0db6b28d7
x86/intel_rdt: Limit C-states dynamically when pseudo-locking active

Deeper C-states impact cache content through shrinking of the cache or
flushing entire cache to memory before reducing power to the cache.
Deeper C-states will thus negatively impact the pseudo-locked regions.

To avoid impacting pseudo-locked regions C-states are limited on
pseudo-locked region creation so that cores associated with the
pseudo-locked region are prevented from entering deeper C-states.
This is accomplished by requesting a CPU latency target which will
prevent the core from entering C6 across all supported platforms.

Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: fenghua.yu@intel.com
Cc: tony.luck@intel.com
Cc: vikas.shivappa@linux.intel.com
Cc: gavin.hindman@intel.com
Cc: jithu.joseph@intel.com
Cc: dave.hansen@intel.com
Cc: hpa@zytor.com
Link: https://lkml.kernel.org/r/1ef4f99dd6ba12fa6fb44c5a1141e75f952b9cd9.1529706536.git.reinette.chatre@intel.com
Documentation/x86/intel_rdt_ui.txt
arch/x86/kernel/cpu/intel_rdt.h
arch/x86/kernel/cpu/intel_rdt_pseudo_lock.c