summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2026-10-09 12:39:23 -0700
committerBorislav Petkov (AMD) <bp@alien8.de>2026-10-09 17:43:05 -0700
commit2c10b3fa5bdf61e344bc522e6c2e00d870ce7ab8 (patch)
tree8e0b4d3902fa20ccbc3703a5e45f7c341401446e /include
parent50e5282df427830fcd810e553f0e355d9cccb3e2 (diff)
fs/resctrl: Ensure default group reports tasks on monitor-only systems
resctrl can be mounted on a system that supports monitoring but not allocation. On such a system reading the "tasks" file in the default group reports no tasks, even when there are tasks assigned to the default group. This problem occurs because the check for whether a task belongs to a CTRL_MON group is gated by a check for whether the system supports allocation. The resctrl_arch_alloc_capable() check in is_closid_match() breaks task reporting for the default group on monitor-only systems so remove this check. On systems that support allocation the check is redundant. Fixes: e6b2fac36fcc ("x86/resctrl: Use is_closid_match() in more places") Closes: https://sashiko.dev/#/patchset/20260831174421.13921-1-tony.luck%40intel.com?part=9 Reported-by: Sashiko <sashiko-bot@kernel.org> Signed-off-by: Tony Luck <tony.luck@intel.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Reviewed-by: Reinette Chatre <reinette.chatre@intel.com> Link: https://patch.msgid.link/20261009193923.15498-1-tony.luck@intel.com
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions