Chen Yu writes:
+#ifdef CONFIG_PROC_CPU_RESCTRL + ONE("resctrl", S_IRUGO, proc_resctrl_show),
There was already some discussion about "resctrl" by itself being a misleading name, hence why the CONFIG option eventually became CONFIG_X86_CPU_RESCTRL. Can you please rethink the name of this /proc file, and have it at least be "cpu_resctrl" or "x86_resctrl" or similar? :-)