public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* comments on adding slist.h
@ 2002-06-09 12:09 Thomas 'Dent' Mirlacher
  2002-06-09 13:40 ` Martin Dalecki
  2002-06-09 21:04 ` William Lee Irwin III
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas 'Dent' Mirlacher @ 2002-06-09 12:09 UTC (permalink / raw)
  To: Linux-Kernel ML

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

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-09 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-09 12:09 comments on adding slist.h Thomas 'Dent' Mirlacher
2002-06-09 13:40 ` Martin Dalecki
2002-06-09 21:04 ` William Lee Irwin III
2002-06-09 21:27   ` Thunder from the hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox