Re: [PATCH v13 09/32] x86,fs/resctrl: Rename some L3 specific functions

Reinette Chatre
2025-11-13T04:01:31Z

Hi Tony,

On 10/29/25 9:20 AM, Tony Luck wrote:
> With the arrival of monitor events tied to new domains associated with
> a different resource it would be clearer if the L3 resource specific
> functions are more accurately named.
>
> Rename three groups of functions:
>
> Functions that allocate/free architecture per-RMID MBM state information:
> arch_domain_mbm_alloc() -> l3_mon_domain_mbm_alloc()
> mon_domain_free() -> l3_mon_domain_free()
>
> Functions that allocate/free filesystem per-RMID MBM state information:
> domain_setup_mon_state() -> domain_setup_l3_mon_state()
> domain_destroy_mon_state() -> domain_destroy_l3_mon_state()
>
> Initialization/exit:
> rdt_get_mon_l3_config() -> rdt_get_l3_mon_config()
> resctrl_mon_resource_init() -> resctrl_l3_mon_resource_init()
> resctrl_mon_resource_exit() -> resctrl_l3_mon_resource_exit()
>
> Ensure kernel-doc descriptions of these functions' return values are
> present and correctly formatted.
>
> Signed-off-by: Tony Luck <tony.luck@intel.com>
> ---

With changelog line lengths fixed:
| Reviewed-by: Reinette Chatre <reinette.chatre@intel.com>

Reinette