diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2018-06-22 15:41:53 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-06-23 13:03:40 +0200 |
commit | cba1aab84fb815675038f9f932c1dd0a5519c63d (patch) | |
tree | 389dd55541f4a8dd69fced60c85042a7f6f8aa5d /arch/x86/kernel/cpu/intel_rdt.h | |
parent | 32206ab36553be8714d9253ce33f4085681d369c (diff) | |
download | linux-cba1aab84fb815675038f9f932c1dd0a5519c63d.tar.gz linux-cba1aab84fb815675038f9f932c1dd0a5519c63d.tar.bz2 linux-cba1aab84fb815675038f9f932c1dd0a5519c63d.zip |
x86/intel_rdt: Document new mode, size, and bit_usage
By default resource groups allow sharing of their cache allocations. There
is nothing that prevents a resource group from configuring a cache
allocation that overlaps with that of an existing resource group.
To enable resource groups to specify that their cache allocations cannot be
shared a resource group "mode" is introduced to support two possible modes:
"shareable" and "exclusive". A "shareable" resource group allows sharing of
its cache allocations, an "exclusive" resource group does not. A new
resctrl file "mode" associated with each resource group is used to
communicate its (the associated resource group's) mode setting and allow
the mode to be changed. The new "mode" file as well as two other resctrl
files, "bit_usage" and "size", are introduced in this series.
Add documentation for the three new resctrl files as well as one example
demonstrating their use.
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/f03a3059ec40ae719be6f3fba9f446bb055e0064.1529706536.git.reinette.chatre@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/intel_rdt.h')
0 files changed, 0 insertions, 0 deletions