Re: [PATCH v3 15/19] x86/resctrl: Add helpers for system wide mon/alloc capable

From: Reinette Chatre
Date: Fri Mar 31 2023 - 19:29:33 EST


Hi James,

On 3/20/2023 10:26 AM, James Morse wrote:
> resctrl reads rdt_alloc_capable or rdt_mon_capable to determine
> whether any of the resources support the corresponding features.
> resctrl also uses the static-keys that affect the architecture's
> context-switch code to determine the same thing.

hmmm ... they are not the same though since the static-keys
in addition means that resctrl is mounted.

Reinette