x86,fs/resctrl: Cleanups in preparation for multiple controls support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest5 patches 5 repliesIn review
- v25 patches 13 repliesSuperseded
- v15 patches 13 repliesSuperseded
Changes in v3 from the cover letter
- v2: https://lore.kernel.org/lkml/[email protected]/
- Rebase on v7.4-rc1.
- Add tags. All patches now have at least two Reviewed-by tags.
- No other changes.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86,fs/resctrl: Remove unused non-linear bandwidth delay mappingarch/ include/ | +7 | 0 replies | |
| 2/5 | x86,fs/resctrl: Remove unnecessary non-linear MBA configuration checkarch/ fs/ include/ | +10 | 2 replies | |
| 3/5 | x86,fs/resctrl: Move MSR_IA32_L{2,3}_QOS_CFG scope property to x86 resourcearch/ arch/ arch/ +1 more | +11 | 0 replies | |
| 4/5 | fs/resctrl: Drop unnecessary is_mba_linear() helperfs/ | +1 | 0 replies | |
| 5/5 | fs/resctrl: Drop unnecessary parameter from resctrl_io_alloc_parse_line()fs/ | +4 | 0 replies |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Chen Yu | Jinjie Ruan | Tony Luck | Ben Horgan |
|---|---|---|---|---|
| 1/5 | R-b | R-b | R-b | |
| 2/5 | R-b | A-b | R-b | |
| 3/5 | R-b | R-b | ||
| 4/5 | R-b | R-b | R-b | R-b |
| 5/5 | R-b | R-b | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.
Cover letter [PATCH v3 0/5] x86,fs/resctrl: Cleanups in preparation for multiple controls support
Changes since v2:
- v2: https://lore.kernel.org/lkml/[email protected]/
- Rebase on v7.4-rc1.
- Add tags. All patches now have at least two Reviewed-by tags.
- No other changes.
Changes since v1:
- v1: https://lore.kernel.org/lkml/[email protected]/
- Rebase on x86/cache branch of tip with HEAD at:
50e5282df427 ("x86,fs/resctrl: Add event group descriptions for Intel Diamond Rapids")
- Rework all changelogs. Most now explain why each change is safe and why it is needed independent of the multiple controls work. (Ben)
- Make subject lines more specific and fix the prefix of the patch removing the non-linear bandwidth delay mapping.
- Keep the informational message printed when an Intel system with non-linear MBA delay values is encountered, rewording it and adding the missing newline. Match the related warning to the same wording. (Chenyu)
- Group the memory bandwidth property assignments during Intel MBA enumeration.
- Clarify in kernel-doc that the MSR_IA32_L{2,3}_QOS_CFG scope property only applies to cache resources.
- Add Reviewed-by tags from Chenyu and Ben.
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 support, 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. The goals are described in [1] and summarized in the Linux Plumbers Conference 2025 slides [2]. The implementation is in progress, with the most recent PoC available at [3].
This series contains the preparatory cleanups from the PoC that are ready to be merged independently of the remaining work:
- Remove the unused support for non-linear Intel MBA delay values, including a user space configuration check that can never fail.
- Make the scope of MSR_IA32_L{2,3}_QOS_CFG a private x86 property instead of a resctrl filesystem cache property.
- Drop an unnecessary helper and an unnecessary function parameter.
The only intended functional change is a reworded informational message printed if an Intel system with non-linear MBA delay values is encountered.
Changes since previous postings can be found in the individual patches.
[1] https://lore.kernel.org/lkml/aPtfMFfLV1l%[email protected]/
[2] https://lpc.events/event/19/contributions/2093/attachments/1958/4172/resctrl%20Microconference%20LPC%202025%20Tokyo.pdf
[3] https://lore.kernel.org/lkml/[email protected]/
Reinette Chatre (5):
x86,fs/resctrl: Remove unused non-linear bandwidth delay mapping x86,fs/resctrl: Remove unnecessary non-linear MBA configuration check x86,fs/resctrl: Move MSR_IA32_L{2,3}_QOS_CFG scope property to x86
resource
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 | 72 ++++++++------------------ arch/x86/kernel/cpu/resctrl/internal.h | 4 ++ 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, 33 insertions(+), 76 deletions(-)
base-commit: 6628e7d4c6b25c8d18f1345e3a20d21829aae7e4
Signature · 1 line
2.56.0