Re: [BUG?][2.6.25-mm1] sleeping during IRQ disabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Shaohua Li wrote:
> On Wed, 2008-05-07 at 08:59 +0200, Petr Tesarik wrote:
>> BTW why must be interrupts disabled in this path? Would it be possible
>> to re-enable them for the duration of the synchronization, or does it
>> harm somehow?
> No idea how to fix it. i have the same question why
> do_notify_resume_user in called with interrupt disabled.
> do_notify_resume_user->ia64_do_signal->get_signal_to_deliver which could
> sleep (like try_to_freeze) and this routine calls
> spin_lock_irq()/spin_unlock_irq(), this will enable interrupt.

Yes, I found it too.
It seems that ia64_do_signal should be called with interrupts enabled.

Thanks,
H.Seto
--
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Sparc Linux]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux x86_64]     [Linux for Ham Radio]

  Powered by Linux