[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <SJ1PR11MB60837B0B18CA663282190AE8FC86A@SJ1PR11MB6083.namprd11.prod.outlook.com>
Date: Mon, 5 Jan 2026 20:15:35 +0000
From: "Luck, Tony" <tony.luck@...el.com>
To: Borislav Petkov <bp@...en8.de>, "Chatre, Reinette"
<reinette.chatre@...el.com>
CC: Fenghua Yu <fenghuay@...dia.com>, "Wieczor-Retman, Maciej"
<maciej.wieczor-retman@...el.com>, Peter Newman <peternewman@...gle.com>,
James Morse <james.morse@....com>, Babu Moger <babu.moger@....com>, "Drew
Fustini" <dfustini@...libre.com>, Dave Martin <Dave.Martin@....com>, "Chen,
Yu C" <yu.c.chen@...el.com>, "x86@...nel.org" <x86@...nel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"patches@...ts.linux.dev" <patches@...ts.linux.dev>
Subject: RE: [PATCH v17 13/32] x86,fs/resctrl: Add an architectural hook
called for each mount
> Ok, if it works and passes testing, I could wait for you to send me an updated
> patch and drop this one.
Building and testing now.
Reinette: When originally developing this you suggested that rdt_get_tree()
should call resctrl_arch_pre_mount() on *every* mount (to make it generally
useful should future changes need something to be done in architecture code
on each mount).
That flexibility isn't needed for enumerating telemetry events. Boris' suggestion
to use DO_ONCE_SLEEPABLE() would revert to what I had in some earlier
version where rdt_get_tree() only calls this hook on first mount.
Are you OK with this? Or do you still think that the hook should be called on
every mount?
-Tony
Powered by blists - more mailing lists