[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <70f4a5ad-9a89-4833-bbb3-84b7613201c2@arm.com>
Date: Fri, 7 Feb 2025 15:54:52 +0000
From: James Morse <james.morse@....com>
To: Reinette Chatre <reinette.chatre@...el.com>, x86@...nel.org,
linux-kernel@...r.kernel.org
Cc: Fenghua Yu <fenghua.yu@...el.com>, Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
H Peter Anvin <hpa@...or.com>, Babu Moger <Babu.Moger@....com>,
shameerali.kolothum.thodi@...wei.com,
D Scott Phillips OS <scott@...amperecomputing.com>,
carl@...amperecomputing.com, lcherian@...vell.com,
bobo.shaobowang@...wei.com, tan.shaopeng@...itsu.com,
baolin.wang@...ux.alibaba.com, Jamie Iles <quic_jiles@...cinc.com>,
Xin Hao <xhao@...ux.alibaba.com>, peternewman@...gle.com,
dfustini@...libre.com, amitsinght@...vell.com,
David Hildenbrand <david@...hat.com>, Rex Nie <rex.nie@...uarmicro.com>,
Dave Martin <dave.martin@....com>, Shaopeng Tan <tan.shaopeng@...fujitsu.com>
Subject: Re: [PATCH v5 38/40] fs/resctrl: Add boiler plate for external
resctrl code
Hi Reinette,
On 24/10/2024 01:08, Reinette Chatre wrote:
> On 10/4/24 11:03 AM, James Morse wrote:
> ...
>> +++ b/fs/resctrl/Kconfig
>> @@ -0,0 +1,37 @@
>> +config RESCTRL_FS
>> + bool "CPU Resource Control Filesystem (resctrl)"
>> + depends on ARCH_HAS_CPU_RESCTRL
>> + select KERNFS
>> + select PROC_CPU_RESCTRL if PROC_FS
>> + help
>> + Some architectures provide hardware facilities to group tasks and
>> + monitor and control their usage of memory system resources such as
>> + caches and memory bandwidth. Examples of such facilities include
>> + Intel's Resource Director Technology (Intel(R) RDT) and AMD's
>> + Platform Quality of Service (AMD QoS).
>> +
>> + If your system has the necessary support and you want to be able to
>> + assign tasks to groups and manipulate the associated resource
>> + monitors and controls from userspace, say Y here to get a mountable
>> + 'resctrl' filesystem that lets you do just that.
>> +
>> + If nothing mounts or prods the 'resctrl' filesystem, resource
>> + controls and monitors are left in a quiescent, permissive state.
>> +
>> + On architectures where this can be disabled independently, it is
>> + safe to say N.
>> +
>> + See <file:Documentation/arch/x86/resctrl.rst> for more information.
>> +
>> +config RESCTRL_FS_PSEUDO_LOCK
>> + bool
>> + help
>> + Software mechanism to pin data in a cache portion using
>> + micro-architecture specific knowledge.
>> +
> There now seems to be two copies of this ... patch #23 added this exact same
> "config RESCTRL_FS_PSEUDO_LOCK" snippet to arch/x86/Kconfig
Oops - I'm surprised Kbuild didn't bark at me about that!
>> +config RESCTRL_RMID_DEPENDS_ON_CLOSID
>> + bool
>> + help
>> + Enable by the architecture when the RMID values depend on the CLOSID.
>
> "Enable by" -> "Enabled by"?
Yup,
Thanks,
James
Powered by blists - more mailing lists