[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB608383393C4A35CBBDC967E9FCD39@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Mon, 30 Jan 2023 19:04:28 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: "Yu, Fenghua" <fenghua.yu@...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[]
>> + .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.
>
> Seems no need to set fflags or fflags=0 to eliminate confusion?
I just cut & pasted from the L3 ... oops. I think you may be right that
an explicit ".fflags = 0" would be best here.
-Tony
Powered by blists - more mailing lists