[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.0.98.0706181046260.14121@woody.linux-foundation.org>
Date: Mon, 18 Jun 2007 10:48:45 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Miklos Szeredi <miklos@...redi.hu>
cc: mingo@...e.hu, cebbert@...hat.com, chris@...ee.ca,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
akpm@...ux-foundation.org
Subject: Re: [BUG] long freezes on thinkpad t60
On Mon, 18 Jun 2007, Miklos Szeredi wrote:
>
> > Hmm? Untested, I know. Maybe I overlooked something. But even the
> > generated assembly code looks fine (much better than it looked before!)
>
> Boots and runs fine. Fixes the freezes as well, which is not such a
> big surprise, since basically any change in that function seems to do
> that ;)
Yeah, and that code really was *designed* to make all "locking in a loop"
go away. So unlike the patches adding random barriers and cpu_relax()
calls (which might fix it for some *particular* hw setup), I pretty much
guarantee that you can never get that code into a situation where there is
some lock being starved on *any* hw setup.
Ingo, an ack for the patch, and I'll just apply it?
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists