[ofa-general] Re: [PATCH 2/3][NET_BATCH] net core use batching

Andi Kleen andi at firstfloor.org
Fri Oct 12 11:27:24 PDT 2007


> related to this comment, does Linux have a lockless (using atomics)
> singly linked list element?  That would be very useful in a driver hot
> path.

No; it doesn't. At least not a portable one.
Besides they tend to be not faster anyways because e.g. cmpxchg tends
to be as slow as an explicit spinlock.

-Andi




More information about the general mailing list