Re: [PATCH v7 30/49] x86/resctrl: Move get_{mon,ctrl}_domain_from_cpu() to live with their callers

From: Reinette Chatre
Date: Thu Mar 06 2025 - 23:38:52 EST


Hi James,

On 2/28/25 11:58 AM, James Morse wrote:
> Each of get_{mon,ctrl}_domain_from_cpu() only has one caller.
>
> Once the filesystem code is moved to /fs/, there is no equivalent to
> core.c.
>
> Move these functions to each live next to their caller. This allows
> them to be made static and teh header file entries to be removed.

"teh" -> "the"

(found by checkpatch.pl --codespell ...)

>
> Signed-off-by: James Morse <james.morse@xxxxxxx>
> ---

| Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>

Reinette