RE: [RFC PATCH 0/2] Resctrl - rewrite (WIP)

From: Luck, Tony
Date: Mon Jun 19 2023 - 23:49:57 EST


> 38 files changed, 3306 insertions(+), 2 deletions(-)

Lest this be too scary, I'll note the original resctrl code looks like:

$ find arch/x86/kernel/cpu/resctrl -type f | xargs wc -l
43 arch/x86/kernel/cpu/resctrl/pseudo_lock_event.h
4 arch/x86/kernel/cpu/resctrl/Makefile
996 arch/x86/kernel/cpu/resctrl/core.c
581 arch/x86/kernel/cpu/resctrl/ctrlmondata.c
560 arch/x86/kernel/cpu/resctrl/internal.h
845 arch/x86/kernel/cpu/resctrl/monitor.c
1600 arch/x86/kernel/cpu/resctrl/pseudo_lock.c
3733 arch/x86/kernel/cpu/resctrl/rdtgroup.c
8362 total

I'm haven't included pseudo_lock ... but I have most of the rest, so
I'm confident this will end up as a net reduction in lines of code.

-Tony