* 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
* Re: comments on adding slist.h
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
1 sibling, 0 replies; 4+ messages in thread
From: Martin Dalecki @ 2002-06-09 13:40 UTC (permalink / raw)
To: Thomas 'Dent' Mirlacher; +Cc: Linux-Kernel ML
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
Just do it plese. It has been long overdue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: comments on adding slist.h
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
1 sibling, 1 reply; 4+ messages in thread
From: William Lee Irwin III @ 2002-06-09 21:04 UTC (permalink / raw)
To: Thomas 'Dent' Mirlacher; +Cc: Linux-Kernel ML
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
^ 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