From: Ben Horgan <ben.horgan@arm.com>
To: Reinette Chatre <reinette.chatre@intel.com>,
Borislav Petkov <bp@alien8.de>
Cc: x86@kernel.org, james.morse@arm.com, fenghuay@nvidia.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, tglx@linutronix.de,
mingo@redhat.com, dave.hansen@linux.intel.com, hpa@zytor.com,
corbet@lwn.net, linux-doc@vger.kernel.org, dave.martin@arm.com
Subject: Re: [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: Factor MBA parse-time conversion to be per-arch
Date: Tue, 8 Sep 2026 16:44:52 +0100 [thread overview]
Message-ID: <a2a7d988-339c-45f6-b910-5d7dd893b45c@arm.com> (raw)
In-Reply-To: <649aef0d-f915-4288-b3b0-4092adb783b0@intel.com>
Hi Reinette,
On 08/09/2026 16:35, Reinette Chatre wrote:
> Hi Ben,
>
> On 9/7/26 3:44 AM, Ben Horgan wrote:
>> Hi Boris, Reinette,
>>
>> On 04/09/2026 18:36, Borislav Petkov wrote:
>>> On Thu, Sep 03, 2026 at 08:37:51PM -0700, Borislav Petkov wrote:
>>>> Lemme have a look.
>>>
>>> Sashiko has comments:
>>>
>>> https://sashiko.dev/#/patchset/20260709093111.367851-1-ben.horgan%40arm.com
>>>
>>> Please address them: if valid, fix them, if not, explain why they don't need
>>> to be fixed.
>>>
>>> Thx.
>>>
>>
>> Regarding the first Sashiko comment.
>>
>> The documentation change in patch 3 includes the sentence:
>>
>> "
>> The allocated bandwidth percentage is rounded up to the next control step available on the
>> hardware.
>> "
>>
>> Sashiko rightly objects to the "rounded up". For MPAM systems this can be up or down and we test in
>> test_mpam_resctrl.c:test_percent_to_max_rounding() that it isn't too biased to rounding one way or
>> the other.
>>
>> How about replacing "rounded up" with "rounded up or down" so that the sentence becomes:
>>
>> "
>> The allocated bandwidth percentage is rounded up or down to the next control step available on the
>> hardware.
>> "
>>
>> What do you think? Should I respin the series with this alteration?
> The change looks good to me since Intel always rounds up. By itself "rounded" may thus be deceiving.
> One concern is that "next" seems to accompany "round up" to reflect forward/upward movement.
> How about also replacing "next" with "nearest" or "closest"?
Ok, I'll go with "closest".
>
> I think a respin would be most convenient to ensure the intended changes are made.
Will do.
Thanks,
Ben
>
> Reinette
next prev parent reply other threads:[~2026-09-08 15:44 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-09 9:31 [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-07-09 9:31 ` [PATCH v5 1/3] x86,fs/resctrl: Add resctrl_arch_preconvert_bw() Ben Horgan
2026-07-09 9:31 ` [PATCH v5 2/3] arm_mpam: resctrl: Add pass-through resctrl_arch_preconvert_bw() Ben Horgan
2026-07-09 9:31 ` [PATCH v5 3/3] fs/resctrl: Factor MBA parse-time conversion to be per-arch Ben Horgan
2026-07-14 17:45 ` [PATCH v5 0/3] x86,fs/resctrl,arm_mpam: " Reinette Chatre
2026-07-14 22:48 ` Moger, Babu
2026-07-14 23:59 ` Reinette Chatre
2026-09-03 15:40 ` Reinette Chatre
2026-09-04 3:37 ` Borislav Petkov
2026-09-04 17:36 ` Borislav Petkov
2026-09-04 21:15 ` Reinette Chatre
2026-09-05 0:45 ` Borislav Petkov
2026-09-07 10:44 ` Ben Horgan
2026-09-08 15:35 ` Reinette Chatre
2026-09-08 15:44 ` Ben Horgan [this message]
2026-07-15 0:13 ` Gavin Shan
2026-07-15 16:02 ` Reinette Chatre
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a2a7d988-339c-45f6-b910-5d7dd893b45c@arm.com \
--to=ben.horgan@arm.com \
--cc=bp@alien8.de \
--cc=corbet@lwn.net \
--cc=dave.hansen@linux.intel.com \
--cc=dave.martin@arm.com \
--cc=fenghuay@nvidia.com \
--cc=hpa@zytor.com \
--cc=james.morse@arm.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=reinette.chatre@intel.com \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.