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

From: Fenghua Yu
Date: Thu Mar 06 2025 - 17:08:19 EST



On 2/28/25 11:58, 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.

Signed-off-by: James Morse <james.morse@xxxxxxx>
Reviewed-by: Fenghua Yu <fenghuay@xxxxxxxxxx>


Thanks.


-Fenghua