Re: [PATCH v6 02/30] x86,fs/resctrl: Replace architecture event enabled checks

From: Fenghua Yu
Date: Fri Jun 27 2025 - 18:16:06 EST



On 6/26/25 09:49, Tony Luck wrote:
The resctrl file system now has complete knowledge of the status
of every event. So there is no need for per-event function calls
to check.

Replace each of the resctrl_arch_is_{event}enabled() calls with
resctrl_is_mon_event_enabled(QOS_{EVENT}).

No functional change.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>

Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>

Thanks.

-Fenghua

[SNIP]