diff options
author | James Morse <[email protected]> | 2020-02-21 16:21:05 +0000 |
---|---|---|
committer | Borislav Petkov <[email protected]> | 2020-04-17 19:35:01 +0200 |
commit | 9fe0450785abbc04b0ed5d3cf61fcdb8ab656b4b (patch) | |
tree | 1baece2c2f27fde5de61b47135062863a010985d /lib/mpi/mpi-cmp.c | |
parent | b0151da52a6d4f3951ea24c083e7a95977621436 (diff) |
x86/resctrl: Preserve CDP enable over CPU hotplug
Resctrl assumes that all CPUs are online when the filesystem is mounted,
and that CPUs remember their CDP-enabled state over CPU hotplug.
This goes wrong when resctrl's CDP-enabled state changes while all the
CPUs in a domain are offline.
When a domain comes online, enable (or disable!) CDP to match resctrl's
current setting.
Fixes: 5ff193fbde20 ("x86/intel_rdt: Add basic resctrl filesystem support")
Suggested-by: Reinette Chatre <[email protected]>
Signed-off-by: James Morse <[email protected]>
Signed-off-by: Borislav Petkov <[email protected]>
Cc: <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions