Re: [PATCH v5 23/40] x86/resctrl: Add resctrl_arch_ prefix to pseudo lock functions

From: James Morse
Date: Fri Feb 07 2025 - 10:47:39 EST


Hi Reinette,

On 23/10/2024 23:44, Reinette Chatre wrote:
> On 10/4/24 11:03 AM, James Morse wrote:
>> resctrl's pseudo lock has some copy-to-cache and measurement
>> functions that are micro-architecture specific. pseudo_lock_fn()
>> is not at all portable. Label these 'resctrl_arch_' so they stay
>> under /arch/x86.
>
> No mention in changelog why static is also dropped during rename and
> functions moved to a header file while no call sites are changed.

I'll add the following to the commit message:
| To expose these functions to the filesystem code they need an entry
| in a header file, and can't be marked static.


Thanks,

James