[PATCH 0/2] fs/resctrl: Fix RMID limbo handling

From: Jinjie Ruan

Date: Thu Oct 29 2026 - 04:16:23 EST


Fix resctrl RMID allocation to report a retryable -EBUSY
only when the target CLOSID actually has RMIDs in limbo, and split
the domain-offline path out so it releases busy RMIDs without allocating
a monitor context it never uses.

These two fixes are split out of the v10 Narrow-PARTID series below.
https://lore.kernel.org/all/20261020134239.3921377-1-ruanjinjie@xxxxxxxxxx/

Jinjie Ruan (2):
fs/resctrl: Return -EBUSY when per-CLOSID RMIDs are in limbo
fs/resctrl: Skip monitor context allocation when force-freeing RMIDs

fs/resctrl/internal.h | 3 +-
fs/resctrl/monitor.c | 84 ++++++++++++++++++++++++++++---------------
fs/resctrl/rdtgroup.c | 2 +-
3 files changed, 59 insertions(+), 30 deletions(-)

--
2.34.1