BUG: Sleeping function called from invalid context...

Ananth N Mavinakayanahalli ananth at in.ibm.com
Thu Aug 21 05:05:16 UTC 2008


On Wed, Aug 20, 2008 at 11:48:00AM -0700, Roland McGrath wrote:
> Thanks for the report, Ananth.
> 
> Ah!  The i386 will enter do_notify_resume() with interrupts disabled.
> Other machines don't do this (x86-64 and powerpc64, anyway).  It is often
> harmless, because if TIF_SIGPENDING is set, we'll first enter
> get_signal_to_deliver() and implicitly reenable interrupts by virtue of
> spin_lock_irq + spin_unlock_irq.  If we don't enter that path, we get
> straight to utrace_notify_resume() with interrupts still disabled.
> 
> I've merged the following fix in.  
> Please verify that it works well for you.

The patch does fix the problem. Thanks Roland!

Ananth




More information about the utrace-devel mailing list