mirror of
https://github.com/torvalds/linux.git
synced 2026-10-23 07:11:03 +02:00
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:
|
||
|---|---|---|
| .. | ||
| ctrlmondata.c | ||
| internal.h | ||
| Kconfig | ||
| Makefile | ||
| monitor_trace.h | ||
| monitor.c | ||
| pseudo_lock.c | ||
| rdtgroup.c | ||