aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorTony Luck <[email protected]>2024-06-28 14:56:18 -0700
committerBorislav Petkov (AMD) <[email protected]>2024-07-02 20:02:11 +0200
commit13488150f5e2a9b84a335ae18bee33a918ead85d (patch)
treed7c270a79092cd0c691071e00db0104fd8d2bcd9 /net/unix
parent21b362cc762aabb3e8496d33d7b4538154c95a0b (diff)
x86/resctrl: Detect Sub-NUMA Cluster (SNC) mode
There isn't a simple hardware bit that indicates whether a CPU is running in Sub-NUMA Cluster (SNC) mode. Infer the state by comparing the number of CPUs sharing the L3 cache with CPU0 to the number of CPUs in the same NUMA node as CPU0. Add the missing definition of pr_fmt() to monitor.c. This wasn't noticed before as there are only "can't happen" console messages from this file. [ bp: Massage commit message. ] Signed-off-by: Tony Luck <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Reviewed-by: Reinette Chatre <[email protected]> Tested-by: Babu Moger <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions