lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <IA1PR11MB60973088DE64D7076BE889569BCD9@IA1PR11MB6097.namprd11.prod.outlook.com> Date: Sat, 28 Jan 2023 02:22:50 +0000 From: "Yu, Fenghua" <fenghua.yu@...el.com> To: "Luck, Tony" <tony.luck@...el.com>, "Chatre, Reinette" <reinette.chatre@...el.com>, Peter Newman <peternewman@...gle.com>, "Jonathan Corbet" <corbet@....net>, "x86@...nel.org" <x86@...nel.org> CC: Shaopeng Tan <tan.shaopeng@...itsu.com>, James Morse <james.morse@....com>, Jamie Iles <quic_jiles@...cinc.com>, Babu Moger <babu.moger@....com>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>, "patches@...ts.linux.dev" <patches@...ts.linux.dev> Subject: Re: [PATCH 3/7] x86/resctrl: Add a new node-scoped resource to rdt_resources_all[] Hi, Tony, On 1/26/23 10:41, Tony Luck wrote: > diff --git a/arch/x86/kernel/cpu/resctrl/core.c b/arch/x86/kernel/cpu/resctrl/core.c > index 6914232acf84..19be6fe42ef3 100644 > --- a/arch/x86/kernel/cpu/resctrl/core.c > +++ b/arch/x86/kernel/cpu/resctrl/core.c > @@ -100,6 +100,16 @@ struct rdt_hw_resource rdt_resources_all[] = { > .fflags = RFTYPE_RES_MB, > }, > }, > + [RDT_RESOURCE_NODE] = > + { > + .r_resctrl = { > + .rid = RDT_RESOURCE_NODE, > + .name = "L3", > + .scope = SCOPE_NODE, > + .domains = domain_init(RDT_RESOURCE_NODE), > + .fflags = RFTYPE_RES_MB, RFTYPE_RES_MB is for the resource to add some files in info/MB. But the NODE resource doesn't have any files to show in info/MB. Only shown file for the NODE resource is info/L3_MON/snc_ways. But this file doesn't need to set fflags. Maybe Thanks. -Fenghua
Powered by blists - more mailing lists