Re: [PATCH 20/24] selftests/resctrl: Add helper to convert L2/3 to integer

2023-10-27 Thread Maciej Wieczór-Retman
On 2023-10-24 at 12:26:30 +0300, Ilpo Järvinen wrote: >"L2"/"L3" conversion to integer in embedded into get_cache_size() "in embedded" -> "is embedded"? >which prevents reuse. > >Create a helper for the cache string to integer conversion to make >it reusable. > >Signed-off-by: Ilpo Järvinen --

[PATCH 20/24] selftests/resctrl: Add helper to convert L2/3 to integer

2023-10-24 Thread Ilpo Järvinen
"L2"/"L3" conversion to integer in 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 --- tools/testing/selftests/resctrl/resctrlfs.c | 28 +++-- 1 file changed, 20 ins