Re: [PATCH v3 27/29] selftests/resctrl: Add helper to convert L2/3 to integer
From: Reinette Chatre
Date: Wed Dec 13 2023 - 17:00:59 EST
Hi Ilpo,
On 12/11/2023 4:18 AM, Ilpo Järvinen wrote:
> "L2"/"L3" conversion to integer is embedded into get_cache_size()
> which prevents reuse.
>
> Create a helper for the cache string to integer conversion to make
> it reusable.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
Reviewed-by: Reinette Chatre <reinette.chatre@xxxxxxxxx>
Reinette