Re: [PATCH v10 25/30] x86,fs/resctrl: Move the resctrl filesystem code to live in /fs/resctrl

From: Reinette Chatre
Date: Thu May 08 2025 - 14:23:04 EST


Hi Yury,

On 5/8/25 11:18 AM, Yury Norov wrote:
> On Thu, May 08, 2025 at 05:18:53PM +0000, James Morse wrote:
>> Resctrl is a filesystem interface to hardware that provides cache
>> allocation policy and bandwidth control for groups of tasks or CPUs.
>>
>> To support more than one architecture, resctrl needs to live in /fs/.
>>
>> Move the code that is concerned with the filesystem interface to
>> /fs/resctrl.
>>
>> Signed-off-by: James Morse <james.morse@xxxxxxx>
>> ---
>> Changes since *:
>> * This patch is generated by a script.
>> ---
>> arch/x86/kernel/cpu/resctrl/ctrlmondata.c | 637 ---
>> arch/x86/kernel/cpu/resctrl/internal.h | 366 +-
>> arch/x86/kernel/cpu/resctrl/monitor.c | 902 +---
>> arch/x86/kernel/cpu/resctrl/monitor_trace.h | 18 +-
>> arch/x86/kernel/cpu/resctrl/pseudo_lock.c | 1080 +---
>> .../kernel/cpu/resctrl/pseudo_lock_trace.h | 2 +
>> arch/x86/kernel/cpu/resctrl/rdtgroup.c | 4311 +---------------
>> fs/resctrl/ctrlmondata.c | 661 +++
>> fs/resctrl/internal.h | 428 ++
>> fs/resctrl/monitor.c | 932 ++++
>> fs/resctrl/monitor_trace.h | 33 +
>> fs/resctrl/pseudo_lock.c | 1115 +++++
>> fs/resctrl/pseudo_lock_trace.h | 17 +
>> fs/resctrl/rdtgroup.c | 4346 +++++++++++++++++
>> 14 files changed, 7549 insertions(+), 7299 deletions(-)
>
> There's no MAINTAINERS record for the new files. Did I miss
> something?

Thanks for taking a look!

These files are created/introduced in earlier patch, "fs/resctrl: Add boiler plate for external resctrl code"
[1] with the MAINTAINERS record updated in that patch.

Reinette

[1] https://lore.kernel.org/lkml/20250508171858.9197-16-james.morse@xxxxxxx/