Re: comments on adding slist.h

William Lee Irwin III (wli@holomorphy.com)
Sun, 9 Jun 2002 14:04:52 -0700


On Sun, Jun 09, 2002 at 02:09:57PM +0200, Thomas 'Dent' Mirlacher wrote:
> since we've already list.h, what about adding slist.h for
> single linked lists?
> single linked list are often used within the kernel,
> specifically slist_for_each() could be useful, since we can use
> prefetch() there. (slist_for_each could be used 42 times alone net/core)
> any comments, (like, single linked lists are so trivial, there is no
> need for a header file. or, the programmer has to take care of using
> prefetch() when traversing single linked lists ...) are welcome.
> thanks,
> tm

This would be a valuable contribution.

Thanks,
Bill
-
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/