public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Linus Torvalds <torvalds@linux-foundation.org>
To: Theodore Tso <tytso@mit.edu>,
	Martin Schwidefsky <schwidefsky@de.ibm.com>,
	John Stultz <johnstul@us.ibm.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	tglx@linutronix.de,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Ondrej Zary <linux@rainbow-software.org>,
	Magnus Damm <magnus.damm@gmail.com>
Subject: Re: T400 suspend/resume regression -- bisected to a mystery merge commit
Date: Thu, 1 Oct 2009 18:21:50 -0700 (PDT)	[thread overview]
Message-ID: <alpine.LFD.2.01.0910011817120.6996@localhost.localdomain> (raw)
In-Reply-To: <20091002005907.GA7490@mit.edu>



On Thu, 1 Oct 2009, Theodore Tso wrote:
> 
> commit 8c3ee48dabee782d470cc4c7048ea64bb8b7d1cb
> Author: Theodore Ts'o <tytso@mit.edu>
> Date:   Thu Oct 1 20:39:03 2009 -0400
> 
>     Revert "timekeeping: Update clocksource with stop_machine"
>     
>     This reverts commit 75c5158f70c065b9704b924503d96e8297838f79.

Hmm. Looks good. But you didn't cc most of the people actually involved 
with that commit (Martin who is the author, and John who acked it).

I think the revert is the right thing to do, especially as that 
'clocksource_mutex' looks totally bogus. Either the thing is protected by 
'stop_machine' or it's not. In neither case does it seem to make any sense 
to replace a spinlock with a mutex. 

And resuming anything with a big mutex is crazy anyway. 

That said, I do wonder if this is already fixed. See commit 
89133f93508137231251543d1732da638e6022e1:

    clocksource: Resume clocksource without taking the clocksource mutex

which already undid the part that probably mattered for you. That said, I 
still do think that that mutex is dubious, so maybe we should undo it all.

		Linus

  reply	other threads:[~2009-10-02  1:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-26  6:57 T400 suspend/resume regression -- bisected to a mystery merge commit Theodore Ts'o
2009-09-26 16:28 ` Linus Torvalds
2009-09-27  8:08 ` Len Brown
2009-09-27 16:13 ` Rafael J. Wysocki
2009-09-28 13:51   ` Theodore Tso
2009-09-28 21:22     ` Rafael J. Wysocki
2009-10-02  0:59       ` Theodore Tso
2009-10-02  1:21         ` Linus Torvalds [this message]
2009-10-02  8:02           ` Martin Schwidefsky
2009-10-02 22:34           ` Theodore Tso
2009-10-02  6:50     ` Magnus Damm
2009-10-02 17:51       ` Rafael J. Wysocki

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=alpine.LFD.2.01.0910011817120.6996@localhost.localdomain \
    --to=torvalds@linux-foundation.org \
    --cc=johnstul@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@rainbow-software.org \
    --cc=magnus.damm@gmail.com \
    --cc=rjw@sisk.pl \
    --cc=schwidefsky@de.ibm.com \
    --cc=tglx@linutronix.de \
    --cc=tytso@mit.edu \
    /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