Thread (33 messages) 33 messages, 8 authors, 2011-09-08

Re: [ANNOUNCE] 3.0.1-rt11

From: Thomas Gleixner <hidden>
Date: 2011-09-07 12:20:35
Also in: lkml

On Wed, 7 Sep 2011, Russell King - ARM Linux wrote:
On Wed, Sep 07, 2011 at 11:46:33AM +0100, Russell King - ARM Linux wrote:
quoted
I think we had this reported before and I got to the bottom of it - the
platform was doing something it shouldn't.  I don't remember the details,
maybe when all the emails come through I can see the original bug report
I'll remember.
Or maybe I won't because it was never posted to an ARM mailing list.
So I've no idea what the real bug report is about or what has already
been discussed.
The problem is that if you enable interrupts on the CPU _BEFORE_ it is
set online AND active, then you can end up waking up kernel threads
which are bound to that CPU and the scheduler will happily schedule
them on an online CPU. That makes them lose the cpu affinity to the
CPU as well and hell breaks lose.

Frank has observed this with softirq threads, but the same thing is
true for any other CPU bound thread like the worker stuff.

So moving the online, active thing BEFORE enabling interrupt is the
only sensible solution.

Thanks,

	tglx


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help