Re: [PATCH v4 37/39] fs/resctrl: Add boiler plate for external resctrl code
From: Reinette Chatre
Date: Wed Aug 14 2024 - 00:05:14 EST
Hi James,
On 8/2/24 10:28 AM, James Morse wrote:
Add Makefile and Kconfig for fs/resctrl. Add ARCH_HAS_CPU_RESCTRL
for the common parts of the resctrl interface and make X86_CPU_RESCTRL
depend on this.
It does not sound accurate to say that X86_CPU_RESCTRL depends on
ARCH_HAS_CPU_RESCTRL when actually X86_CPU_RESCTRL "selects" ARCH_HAS_CPU_RESCTRL.
Adding an include of asm/resctrl.h to linux/resctrl.h allows some
of the files to switch over to using this header instead.
Please replace the vague "some of the files" with accurate information about how
files to switch over are chosen.
Reinette