comments on adding slist.h

From: Thomas 'Dent' Mirlacher (
Date: Sun Jun 09 2002 - 07:09:57 EST

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.


in some way i do, and in some way i don't.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to More majordomo info at Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:14 EST