From: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
pjt@google.com, paul@paulmenage.org, akpm@linux-foundation.org,
rjw@sisk.pl, nacc@us.ibm.com, rientjes@google.com,
paulmck@linux.vnet.ibm.com, tglx@linutronix.de,
seto.hidetoshi@jp.fujitsu.com, tj@kernel.org,
mschmidt@redhat.com, berrange@redhat.com,
nikunj@linux.vnet.ibm.com, vatsa@linux.vnet.ibm.com,
liuj97@gmail.com, linux-kernel@vger.kernel.org,
linux-pm@vger.kernel.org
Subject: Re: [PATCH v6 0/4] CPU hotplug, cpusets, suspend/resume: Fixes, cleanups and optimizations
Date: Wed, 20 Jun 2012 21:36:21 +0530 [thread overview]
Message-ID: <4FE1F4FD.3050101@linux.vnet.ibm.com> (raw)
In-Reply-To: <20120620144735.GA2007@gmail.com>
On 06/20/2012 08:17 PM, Ingo Molnar wrote:
>
> * Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> wrote:
>
>> On 06/20/2012 05:09 PM, Ingo Molnar wrote:
>>
>>> * Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> wrote:
>>>
>>>> On 05/24/2012 07:46 PM, Srivatsa S. Bhat wrote:
>>>>
>>>>> Currently the kernel doesn't handle cpusets properly during
>>>>> suspend/resume. After a resume, all non-root cpusets end up
>>>>> having only 1 cpu (the boot cpu), causing massive
>>>>> performance degradation of workloads. One major user of
>>>>> cpusets is libvirt, which means that after a
>>>>> suspend/hibernation cycle, all VMs suddenly end up running
>>>>> terribly slow!
>>>>>
>>>>> Also, the kernel moves the tasks from one cpuset to another
>>>>> during CPU hotplug in the suspend/resume path, leading to a
>>>>> task-management nightmare after resume.
>>>>>
>>>>> Patch 1 fixes this by keeping cpusets unmodified in the
>>>>> suspend/resume path. But to ensure we don't trip over, it
>>>>> keeps the sched domains updated during every CPU hotplug in
>>>>> the s/r path. This is a long standing issue and we need to
>>>>> fix up stable kernels too.
>>>>>
>>>>> The rest of the patches in the series are mostly
>>>>> cleanups/optimizations.
>>>>
>>>> Hi Peter,
>>>>
>>>> Would you be taking these patches through -tip for 3.6?
>>>
>>> They are now in tip:sched/core.
>>>
>>> Note that I removed the Cc:stable tag - it's not a regression
>>> fix and such it is not eligible for immediate -stable backports.
>>>
>>> ( Once they are upstream and have been problem-free upstream for
>>> several weeks then *maybe* we could forward the first commit
>>> to -stable, as a super special exception. )
>>>
>>
>>
>> OK, I get the point of allowing it to cook in the mainline for
>> a while before backporting to -stable and I totally agree with
>> that, but why so much of uncertainty about whether the first
>> commit should (eventually) even land in -stable or not?
>> Distros have been struggling to deal with this bug in
>> userspace and have failed, and AFAIK they are waiting for a
>> proper kernel fix for this bug. Agreed, this is not a
>> regression per se, but isn't this bug critical enough to
>> qualify for -stable?
>
> No, as a general rule only regression fixes are included in
> -stable. The workflow is this: in the v3.4 -stable kernel we
> included fixes that were introduced in the v3.4 merge window,
> i.e. bugs that were introduced after v3.3 was released.
>
> Not 'fixes' in general.
>
> Fixes for "has been broken forever" problems (like this one) go
> upstream and get released in the next stable kernel that gets
> released - v3.6 in this case.
>
Ah, ok.. Thanks for the explanation!
Regards,
Srivatsa S. Bhat
prev parent reply other threads:[~2012-06-20 16:08 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-24 14:16 [PATCH v6 0/4] CPU hotplug, cpusets, suspend/resume: Fixes, cleanups and optimizations Srivatsa S. Bhat
2012-05-24 14:16 ` [PATCH v6 1/4] CPU hotplug, cpusets, suspend: Don't modify cpusets during suspend/resume Srivatsa S. Bhat
2012-06-20 10:44 ` [tip:sched/core] CPU hotplug, cpusets, suspend: Don' t " tip-bot for Srivatsa S. Bhat
2012-07-24 14:14 ` tip-bot for Srivatsa S. Bhat
2012-05-24 14:16 ` [PATCH v6 2/4] cpusets, hotplug: Implement cpuset tree traversal in a helper function Srivatsa S. Bhat
2012-06-20 10:45 ` [tip:sched/core] " tip-bot for Srivatsa S. Bhat
2012-07-24 14:15 ` tip-bot for Srivatsa S. Bhat
2012-05-24 14:16 ` [PATCH v6 3/4] cpusets, hotplug: Restructure functions that are invoked during hotplug Srivatsa S. Bhat
2012-06-20 10:46 ` [tip:sched/core] " tip-bot for Srivatsa S. Bhat
2012-07-24 14:16 ` tip-bot for Srivatsa S. Bhat
2012-05-24 14:17 ` [PATCH v6 4/4] cpusets: Remove/update outdated comments Srivatsa S. Bhat
2012-06-20 10:47 ` [tip:sched/core] " tip-bot for Srivatsa S. Bhat
2012-07-24 14:17 ` tip-bot for Srivatsa S. Bhat
2012-05-25 9:38 ` [PATCH v6 0/4] CPU hotplug, cpusets, suspend/resume: Fixes, cleanups and optimizations Peter Zijlstra
2012-05-25 11:22 ` Srivatsa S. Bhat
2012-06-20 9:36 ` Srivatsa S. Bhat
2012-06-20 11:39 ` Ingo Molnar
2012-06-20 14:17 ` Srivatsa S. Bhat
2012-06-20 14:26 ` Srivatsa S. Bhat
2012-06-20 14:47 ` Ingo Molnar
2012-06-20 16:06 ` Srivatsa S. Bhat [this message]
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=4FE1F4FD.3050101@linux.vnet.ibm.com \
--to=srivatsa.bhat@linux.vnet.ibm.com \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=berrange@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=liuj97@gmail.com \
--cc=mingo@kernel.org \
--cc=mschmidt@redhat.com \
--cc=nacc@us.ibm.com \
--cc=nikunj@linux.vnet.ibm.com \
--cc=paul@paulmenage.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=pjt@google.com \
--cc=rientjes@google.com \
--cc=rjw@sisk.pl \
--cc=seto.hidetoshi@jp.fujitsu.com \
--cc=tglx@linutronix.de \
--cc=tj@kernel.org \
--cc=vatsa@linux.vnet.ibm.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).