Re: in_atomic doesn't count local_irq_disable?

From: Manfred Spraul
Date: Mon Dec 29 2003 - 10:15:16 EST


Srivatsa Vaddagiri wrote:

This is basically because down_read was called with interrupts disabled ..
__might_sleep was "unable" to dump the stack of callers which lead to this problem ..

What do you mean with unable? Could you post what was printed?

I guess it's a get_user within either spin_lock_irq() or local_irq_disable. Without more info about the context, it's difficult to figure out if the page fault handler or the caller should be updated
--
Manfred



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/