[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260108174227.11307-1-tony.luck@intel.com>
Date: Thu, 8 Jan 2026 09:42:24 -0800
From: Tony Luck <tony.luck@...el.com>
To: Borislav Petkov <bp@...en8.de>
Cc: Fenghua Yu <fenghuay@...dia.com>,
Reinette Chatre <reinette.chatre@...el.com>,
Maciej Wieczor-Retman <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 <yu.c.chen@...el.com>,
x86@...nel.org,
linux-kernel@...r.kernel.org,
patches@...ts.linux.dev,
Tony Luck <tony.luck@...el.com>
Subject: [Updates to v17 PATCH 00/03] x86,fs/resctrl telemetry monitoring
Updates to v17 series[0] to address Boris' suggestion[1] to use
DO_ONCE() instead of open-coding with atomic operations to only execute
some code once.
The substantive changes are in patch 13 where the open-coded "only once"
logic has been removed from resctrl_arch_pre_mount() and replaced using
DO_ONCE_SLEEPABLE(resctrl_arch_pre_mount); in rdt_get_tree().
This change requires some trivial changes to patches 16 and 29 so that
they apply cleanly on top of the changes to resctrl_arch_pre_mount().
I dropped Reinette's Reviewed-by tag from patch 13 because of the
changes. But she commented[2]:
"Placing DO_ONCE_SLEEPABLE() in rdt_get_tree() is fine by me"
Signed-off-by: Tony Luck <tony.luck@...el.com>
-Tony
[0] https://lore.kernel.org/all/20251217172121.12030-1-tony.luck@intel.com/
[1] https://lore.kernel.org/all/20260105191711.GBaVwON5nZn-uO6Sqg@fat_crate.local/
[2] https://lore.kernel.org/all/36239cc0-0a25-40a9-86d1-57236aa087df@intel.com/
--
2.52.0
Powered by blists - more mailing lists