Re: [PATCH v12 09/25] fs/resctrl: Remove redundant calls to resctrl_{alloc,mon}_capable()

From: Babu Moger

Date: Mon Sep 21 2026 - 13:59:27 EST


Hi Tony,

On 9/16/26 18:13, Tony Luck wrote:
resctrl_mon_capable() indicates whether any monitoring resources
are enabled on the system. It does this by scanning all resources.

Redundant calls to resctrl_mon_capable() in hot code paths should
be eliminated. There are two prime examples:

two -> three ?

Thanks
Babu