diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2020-05-05 15:36:14 -0700 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2020-05-06 17:53:46 +0200 |
commit | f0d339db56478e3bcd98d5e985d3d69cacf27549 (patch) | |
tree | 3479cc6e4fb061f24186aa86bdac664be0ed30bc /kernel/workqueue_internal.h | |
parent | 0118ad82c2a64ebcf15d7565ed35361407efadfa (diff) |
x86/resctrl: Remove unnecessary RMID checks
The cache and memory bandwidth monitoring properties are read using
CPUID on every CPU. After the information is read from the system a
sanity check is run to
(1) ensure that the RMID data is initialized for the boot CPU in case
the information was not available on the boot CPU and
(2) the boot CPU's RMID is set to the minimum of RMID obtained
from all CPUs.
Every known platform that supports resctrl has the same maximum RMID
on all CPUs. Both sanity checks found in x86_init_cache_qos() can thus
safely be removed.
Suggested-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/c9a3b60d34091840c8b0bd1c6fab15e5ba92cb17.1588715690.git.reinette.chatre@intel.com
Diffstat (limited to 'kernel/workqueue_internal.h')
0 files changed, 0 insertions, 0 deletions