Re: spinlocking between user context / tasklet / tophalf question

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 27 Apr 2002 20:13:26 +0100 (BST)


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