[PATCH 0/5] x86,fs/resctrl: Cleanups in preparation for multiple

From: Reinette Chatre

Date: Thu Sep 03 2026 - 13:46:42 EST


Hi Everybody,

For resource allocation resctrl assumes there is only one way to allocate
portions of a resource. That is, every resource supporting allocation has
a single control in the schemata file that user space can use to allocate
portions of that resource.

All architectures supported by resctrl already or will soon support multiple
controls per resource. For example, the "memory bandwidth" resource may have
a "maximum bandwidth" as well as a "minimum bandwidth" control.

Adding support for multiple controls to resctrl is a major endeavour. [1]
provides a description of the goals with a summary available in last year's
plumbers slides [2]. The implementation is in progress with most recent
PoC at [3].

The cleanups included in this series are the preparatory patches from the PoC
that trickled to the top, thus kicking off the support for multiple controllers
to resctrl.

While this is v1 of the series these patches did make an appearance in both
RFCs of the PoC. Changes since these postings can be found in the individual
patches.

[1] https://lore.kernel.org/lkml/aPtfMFfLV1l%2FRB0L@xxxxxxxxxxxxxxx/
[2] https://lpc.events/event/19/contributions/2093/attachments/1958/4172/resctrl%20Microconference%20LPC%202025%20Tokyo.pdf
[3] https://lore.kernel.org/lkml/d258a32f-12d5-464d-abe9-4720fb3e44b3@xxxxxxxxx/

Reinette Chatre (5):
fs/resctrl: Drop support for different bandwidth delay mappings
x86,fs/resctrl: Remove "arch_needs_linear"
x86,fs/resctrl: Make MSR_IA32_L{2,3}_QOS_CFG scope architecture
specific
fs/resctrl: Drop unnecessary is_mba_linear() helper
fs/resctrl: Drop unnecessary parameter from
resctrl_io_alloc_parse_line()

arch/x86/kernel/cpu/resctrl/core.c | 69 +++++++-------------------
arch/x86/kernel/cpu/resctrl/internal.h | 3 ++
arch/x86/kernel/cpu/resctrl/rdtgroup.c | 4 +-
fs/resctrl/ctrlmondata.c | 15 ++----
fs/resctrl/rdtgroup.c | 7 +--
include/linux/resctrl.h | 7 ---
6 files changed, 29 insertions(+), 76 deletions(-)

--
2.55.0