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

Luck, Tony
2008-05-07T21:50:32Z

> It sure sounds wrong to me that notify_resume_user runs with interrupts
> disabled.

The "leave kernel" paths on ia64 are a bit tortuous ... clearly there
is some point at which the kernel needs to lock out interrupts and
just get on with returning to the user. We don't want to allow races
after we check the TIF* bits where interrupts could result in more
signals pending for the process.

Perhaps we can re-order things to satisfy all the interrupts enabled
vs. interrupts disabled requirements.

-Tony