[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <e5cbd11a-cd06-4f22-9141-aa04f6eaf969@intel.com>
Date: Tue, 28 Nov 2023 14:11:29 -0800
From: Reinette Chatre <reinette.chatre@...el.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
<linux-kselftest@...r.kernel.org>, Shuah Khan <shuah@...nel.org>,
"Shaopeng Tan" <tan.shaopeng@...fujitsu.com>,
Maciej Wieczór-Retman
<maciej.wieczor-retman@...el.com>,
Fenghua Yu <fenghua.yu@...el.com>
CC: <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 06/26] selftests/resctrl: Create cache_portion_size()
helper
Hi Ilpo,
On 11/20/2023 3:13 AM, Ilpo Järvinen wrote:
> CAT and CMT tests calculate size of the cache portion for the n-bits
> cache allocation on their own.
>
> Add cache_portion_size() helper that calculates size of the cache
> portion for the given number of bits and use it to replace the existing
> span calculations. This also prepares for the new CAT test that will
> need to determine the size of the cache portion also during results
> processing.
>
> Rename also 'cache_size' local variables to 'cache_total_size' to
> prevent misinterpretations.
>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>
> ---
Reviewed-by: Reinette Chatre <reinette.chatre@...el.com>
Reinette
Powered by blists - more mailing lists