From: Ingo Molnar <mingo@elte.hu>
To: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
Cc: Konstantin Khlebnikov <khlebnikov@openvz.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Linus Torvalds <torvalds@linux-foundation.org>,
prashanth@linux.vnet.ibm.com, "Rafael J. Wysocki" <rjw@sisk.pl>,
Linux PM mailing list <linux-pm@vger.kernel.org>,
Srivatsa Vaddagiri <vatsa@linux.vnet.ibm.com>,
"paulmck@linux.vnet.ibm.com >> \"Paul E. McKenney\""
<paulmck@linux.vnet.ibm.com>
Subject: Re: [PATCH bisected regression] sched: rebuild sched domains at suspend/resume
Date: Wed, 7 Mar 2012 15:02:46 +0100 [thread overview]
Message-ID: <20120307140246.GC12676@elte.hu> (raw)
In-Reply-To: <4F5763CD.8050903@linux.vnet.ibm.com>
* Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> wrote:
> On 03/07/2012 02:15 AM, Konstantin Khlebnikov wrote:
>
> > This is fix for suspend/resume regression introduced in
> > commit 8f2f748b0656 ("CPU hotplug, cpusets, suspend: Don't
> > touch cpusets during suspend/resume") Without this patch
> > suspend always hangs on my thinkpad x220 (2 x CPU * HT).
>
>
> Hey, with commit 8f2f748b0656, suspend/resume works perfectly
> for me! I ran it multiple times just to make sure, and
> everything worked just great.
>
> Apart from that, I even tried suspend/resume after building
> the kernel with and without CONFIG_CPUSETS. Both cases worked
> perfectly.
>
> So, I am really surprised at what you stated above. Are you
> *really* sure you are facing suspend hangs *because* of the
> above commit?
That's not the only information Konstantin gave: he also
provided a patch, which activates a side-effect that got removed
by your patch - and voila, s2ram was working for him again.
At this point I don't think we should doubt the messenger, we
should doubt our assumptions and we should go for a clean revert
ASAP.
I don't see the underlying bug straight away, but clearly my
assumptions of this patch not causing problems, when I applied
the patch, are not valid anymore.
So if Linus wants to revert the commit straight away:
Acked-by: Ingo Molnar <mingo@elte.hu>
> And AFAICS hardware doesn't matter for the code in question, but in any case,
> the laptop on which I tested it is:
> Thinkpad T420 (Intel core i5-2540M), 2 cores * HT (total 4 logical cpus).
Well, any environmental detail might matter as long as we don't
understand the bug.
> Also, the patch you posted here doesn't make much sense.. nor
> does it give a clue as to what might be wrong at your end (if
> anything is really wrong, that is). Do you have CONFIG_CPUSETS
> set or unset? Could you share your .config?
His patch is simply the re-creation of a side-effect that the
kernel had before - and it made suspend work for him. While it
is not a patch we want to apply, it sure was a valid and
valuable experiment to perform.
Thanks,
Ingo
next prev parent reply other threads:[~2012-03-07 14:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-06 20:45 [PATCH bisected regression] sched: rebuild sched domains at suspend/resume Konstantin Khlebnikov
2012-03-06 21:02 ` Peter Zijlstra
2012-03-06 21:47 ` Konstantin Khlebnikov
2012-03-07 0:54 ` Linus Torvalds
2012-03-07 1:38 ` Peter Zijlstra
2012-03-07 1:42 ` Linus Torvalds
2012-03-11 19:44 ` Konstantin Khlebnikov
2012-03-12 11:22 ` Thomas Gleixner
2012-03-12 11:56 ` Srivatsa S. Bhat
2012-04-23 13:14 ` Srivatsa S. Bhat
2012-04-24 17:15 ` Peter Zijlstra
2012-03-07 13:34 ` Srivatsa S. Bhat
2012-03-07 14:02 ` Ingo Molnar [this message]
2012-03-07 15:40 ` Konstantin Khlebnikov
2012-03-07 15:49 ` Srivatsa S. Bhat
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=20120307140246.GC12676@elte.hu \
--to=mingo@elte.hu \
--cc=a.p.zijlstra@chello.nl \
--cc=akpm@linux-foundation.org \
--cc=khlebnikov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=paulmck@linux.vnet.ibm.com \
--cc=prashanth@linux.vnet.ibm.com \
--cc=rjw@sisk.pl \
--cc=srivatsa.bhat@linux.vnet.ibm.com \
--cc=torvalds@linux-foundation.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 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.