Re: aio stress panic on 2.6.11-mm1

From: David Howells
Date: Wed Mar 09 2005 - 07:02:05 EST


Andrew Morton <akpm@xxxxxxxx> wrote:

> spin_lock_irq() is OK for down_*(), since down() can call schedule() anyway.
>
> spin_lock_irqsave() should be used in up_*() and I guess down_*_trylock(),
> although the latter shouldn't need to go into the slowpath anyway.

That's what I've done. I'm just testing my changes.

David
-
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/