[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52d96f37-3068-25c7-4a1a-dcf76a3d0870@intel.com>
Date: Fri, 21 Apr 2023 17:20:36 -0700
From: Reinette Chatre <reinette.chatre@...el.com>
To: Ilpo Järvinen <ilpo.jarvinen@...ux.intel.com>,
<linux-kselftest@...r.kernel.org>,
Fenghua Yu <fenghua.yu@...el.com>,
"Shuah Khan" <shuah@...nel.org>, <linux-kernel@...r.kernel.org>
CC: Shaopeng Tan <tan.shaopeng@...fujitsu.com>
Subject: Re: [PATCH v2 19/24] selftests/resctrl: Pass the real number of tests
to show_cache_info()
Hi Ilpo,
On 4/18/2023 4:45 AM, Ilpo Järvinen wrote:
> Some results include warm-up tests which are discarded before passing
> the sum to show_cache_info(). Currently, show_cache_info() handles this
Please drop "Currently".
> by subtracting one from the number of tests in divisor. It is a trappy
> construct to have sum and number of tests parameters to disagree like
> this.
>
> A more logical place for subtracting the skipped tests is where the sum
> is calculated so move it there. Pass the correct number of tests to
> show_cache_info() soit can use directly as the divisor for calculating
> the average.
This is not clear to me. How about "soit can use directly" -> "so it
can be used directly"?
Reinette
Powered by blists - more mailing lists