diff options
author | Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com> | 2024-12-16 16:18:54 +0100 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2025-01-14 17:06:32 -0700 |
commit | d6d35d0b0f4267612eb905305f3f2f7aa048bfd4 (patch) | |
tree | cb12574cae4b8fb4e3da9f8d0d7f781d5d57d6d5 /net/lapb/lapb_in.c | |
parent | a1cd99e700ec006c36c4f01be984e2a19eb3e2f1 (diff) |
selftests/resctrl: Discover SNC kernel support and adjust messages
Resctrl selftest prints a message on test failure that Sub-Numa
Clustering (SNC) could be enabled and points the user to check their BIOS
settings. No actual check is performed before printing that message so
it is not very accurate in pinpointing a problem.
When there is SNC support for kernel's resctrl subsystem and SNC is
enabled then sub node files are created for each node in the resctrlfs.
The sub node files exist in each regular node's L3 monitoring directory.
The reliable path to check for existence of sub node files is
/sys/fs/resctrl/mon_data/mon_L3_00/mon_sub_L3_00.
Add helper that checks for mon_sub_L3_00 existence.
Correct old messages to account for kernel support of SNC in
resctrl.
Signed-off-by: Maciej Wieczor-Retman <maciej.wieczor-retman@intel.com>
Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions