[Updates to v17 PATCH 00/03] x86,fs/resctrl telemetry monitoring

From: Tony Luck
Date: Thu Jan 08 2026 - 12:45:28 EST


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@xxxxxxxxx>

-Tony

[0] https://lore.kernel.org/all/20251217172121.12030-1-tony.luck@xxxxxxxxx/
[1] https://lore.kernel.org/all/20260105191711.GBaVwON5nZn-uO6Sqg@fat_crate.local/
[2] https://lore.kernel.org/all/36239cc0-0a25-40a9-86d1-57236aa087df@xxxxxxxxx/

--
2.52.0