Re: [2.6.29-git12] BUG: scheduling while atomic: swapper/0/0x10000100

Maciej Rutecki
2009-04-10T14:47:50Z

2009/4/10 Thomas Gleixner <tglx@linutronix.de>:
> On Fri, 10 Apr 2009, Maciej Rutecki wrote:
>
>> 2009/4/10 Andrew Morton <akpm@linux-foundation.org>
>>
>> > Did this get fixed?
>>
>> On 2.6.30-rc1-git3 still the same:
>> [  162.541793] BUG: scheduling while atomic: swapper/0/0x10000100
>
> Yikes.
>
> 0x10000100
>       ^----- softirq count leaked.
>
> We have a check for that in do_softirq, but none in do_IRQ. Can you
> please apply the patch below and test whether it triggers ?

When I try connect with bluetooth, and connecting hangs, very often I
observe high load of cpu, and system was very unresponsive. ksoftirqd
has up to 100% load:
http://unixy.pl/maciek/download/kernel/2.6.30-rc1-git3/laptop/img_0002.jpg

After this I reboot laptop.