Re: aio stress panic on 2.6.11-mm1

From: Andrew Morton
Date: Wed Mar 09 2005 - 06:07:03 EST


Suparna Bhattacharya <suparna@xxxxxxxxxx> wrote:
>
> Any sense of how costly it is to use spin_lock_irq's vs spin_lock
> (across different architectures) ? Isn't rwsem used very widely ?

It's only on the slow path, and we've already done a bunch of atomic ops
and a schedule()/wakeup() anyway.
-
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/