Re: Real-Time Preemption and RCU

From: Ingo Molnar
Date: Sat Mar 19 2005 - 11:28:56 EST



* Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> wrote:

> Ingo Molnar wrote:
>
> > read_lock(&rwlock);
> > ...
> > read_lock(&rwlock);
> >
> >are still legal. (it's also done quite often.)
> >
> >
> >
>
> How do you handle the write_lock_irq()/read_lock locks? E.g. the
> tasklist_lock or the fasync_lock.

which precise locking situation do you mean?

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