From: Greg KH <gregkh@linuxfoundation.org>
To: Zhang Qiao <zhangqiao22@huawei.com>
Cc: stable@vger.kernel.org, Sasha Levin <sashal@kernel.org>,
stable-commits@vger.kernel.org, Ingo Molnar <mingo@redhat.com>,
Peter Zijlstra <peterz@infradead.org>,
Juri Lelli <juri.lelli@redhat.com>,
Vincent Guittot <vincent.guittot@linaro.org>,
Dietmar Eggemann <dietmar.eggemann@arm.com>,
Steven Rostedt <rostedt@goodmis.org>,
Ben Segall <bsegall@google.com>, Mel Gorman <mgorman@suse.de>,
Daniel Bristot de Oliveira <bristot@redhat.com>,
Valentin Schneider <vschneid@redhat.com>
Subject: Re: Patch "sched/fair: sanitize vruntime of entity being placed" has been added to the 4.14-stable tree
Date: Tue, 7 Mar 2023 16:23:59 +0100 [thread overview]
Message-ID: <ZAdXD0c9MSZ5H9ls@kroah.com> (raw)
In-Reply-To: <e0c8a7e2-0560-25a4-ee8f-0eaebd98074a@huawei.com>
On Mon, Mar 06, 2023 at 06:51:15PM +0800, Zhang Qiao wrote:
>
>
> 在 2023/3/6 18:05, Greg KH 写道:
> > On Mon, Mar 06, 2023 at 05:28:41PM +0800, Zhang Qiao wrote:
> >>
> >>
> >> 在 2023/3/6 17:19, Greg KH 写道:
> >>> On Mon, Mar 06, 2023 at 04:31:57PM +0800, Zhang Qiao wrote:
> >>>>
> >>>>
> >>>> 在 2023/3/5 12:02, Sasha Levin 写道:
> >>>>> This is a note to let you know that I've just added the patch titled
> >>>>>
> >>>>> sched/fair: sanitize vruntime of entity being placed
> >>>>>
> >>>>> to the 4.14-stable tree which can be found at:
> >>>>> http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
> >>>>>
> >>>>> The filename of the patch is:
> >>>>> sched-fair-sanitize-vruntime-of-entity-being-placed.patch
> >>>>> and it can be found in the queue-4.14 subdirectory.
> >>>>>
> >>>>> If you, or anyone else, feels it should not be added to the stable tree,
> >>>>> please let <stable@vger.kernel.org> know about it.
> >>>>>
> >>>>>
> >>>>>
> >>>>> commit 38247e1de3305a6ef644404ac818bc6129440eae
> >>>>
> >>>> Hi,
> >>>> This patch has significant impact on the hackbench.throughput [1].
> >>>> Please don't backport this patch.
> >>>>
> >>>> [1] https://lore.kernel.org/lkml/202302211553.9738f304-yujie.liu@intel.com/T/#u
> >>>
> >>> This link says it made hackbench.throughput faster, not slower, so why
> >>> would we NOT want it?
> >>
> >> Please see this section. In some cases, this patch reset task's vruntime by mistake and
> >> will lead to wrong results.
> >>
> >>
> >> On Tue, Feb 21, 2023 at 03:34:16PM +0800, kernel test robot wrote:
> >>>
> >>> FYI, In addition to that, the commit also has significant impact on the following tests:
> >>>
> >>> +------------------+--------------------------------------------------+
> >>> | testcase: change | hackbench: hackbench.throughput -8.1% regression |
> >>> | test machine | 104 threads 2 sockets (Skylake) with 192G memory |
> >>> | test parameters | cpufreq_governor=performance |
> >>> | | ipc=socket |
> >>> | | iterations=4 |
> >>> | | mode=process |
> >>> | | nr_threads=100% |
> >>> +------------------+--------------------------------------------------+
> >>>
> >>> Details are as below:
> >
> > So one benchmark did better, by a lot, and one did less, by a little?
> > Which one matters "more">
> >
> > So Linus's tree now has a regression? Or not? I'm confused. We are
>
> Yes, Linus's tree also has a regression, and i have sent a patch[1] for fix this regression.
>
>
> [1]: https://lore.kernel.org/lkml/79850642-ebac-5c23-d32d-b28737dcb91e@huawei.com/
>
> thanks.
> Zhang qiao.
Ok, I've dropped this from all stable queues now. Please let us know
when we can pick it up again and what the fixup commit id in Linus's
tree is when it lands there.
thanks,
greg k-h
next prev parent reply other threads:[~2023-03-07 15:26 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230305040248.1787312-1-sashal@kernel.org>
2023-03-06 8:31 ` Patch "sched/fair: sanitize vruntime of entity being placed" has been added to the 4.14-stable tree Zhang Qiao
2023-03-06 9:19 ` Greg KH
2023-03-06 9:28 ` Zhang Qiao
2023-03-06 10:05 ` Greg KH
2023-03-06 10:51 ` Zhang Qiao
2023-03-07 15:23 ` Greg KH [this message]
2023-03-28 9:02 ` Zhang Qiao
2023-03-28 12:46 ` Greg KH
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=ZAdXD0c9MSZ5H9ls@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=bristot@redhat.com \
--cc=bsegall@google.com \
--cc=dietmar.eggemann@arm.com \
--cc=juri.lelli@redhat.com \
--cc=mgorman@suse.de \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rostedt@goodmis.org \
--cc=sashal@kernel.org \
--cc=stable-commits@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=vincent.guittot@linaro.org \
--cc=vschneid@redhat.com \
--cc=zhangqiao22@huawei.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).