Archive-only list for patches
 help / color / mirror / Atom feed
* [Updates to v17 PATCH 00/03] x86,fs/resctrl telemetry monitoring
@ 2026-01-08 17:42 Tony Luck
  2026-01-08 17:42 ` [PATCH 13/32] x86,fs/resctrl: Add an architectural hook called for first mount Tony Luck
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Tony Luck @ 2026-01-08 17:42 UTC (permalink / raw)
  To: Borislav Petkov
  Cc: Fenghua Yu, Reinette Chatre, Maciej Wieczor-Retman, Peter Newman,
	James Morse, Babu Moger, Drew Fustini, Dave Martin, Chen Yu, x86,
	linux-kernel, patches, Tony Luck

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@intel.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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-01-09 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 17:42 [Updates to v17 PATCH 00/03] x86,fs/resctrl telemetry monitoring Tony Luck
2026-01-08 17:42 ` [PATCH 13/32] x86,fs/resctrl: Add an architectural hook called for first mount Tony Luck
2026-01-09 15:28   ` Reinette Chatre
2026-01-09 15:37     ` Borislav Petkov
2026-01-08 17:42 ` [PATCH 16/32] x86/resctrl: Discover hardware telemetry events Tony Luck
2026-01-08 17:42 ` [PATCH 29/32] x86/resctrl: Enable RDT_RESOURCE_PERF_PKG Tony Luck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox