Re: spinlocking between user context / tasklet / tophalf question

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Apr 27 2002 - 14:13:26 EST


> Tasklets are run in interrupt context. You need the irq versions of the

Not always. Ksoftirqd...

> spinlock in kernel space. In tasklet space a simple spinlock should be
> enough as the tasklet can not be reentered.

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



This archive was generated by hypermail 2b29 : Tue Apr 30 2002 - 22:00:14 EST