All of lore.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

* 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

* Re: comments on adding slist.h
  2002-06-09 21:04 ` William Lee Irwin III
@ 2002-06-09 21:27   ` Thunder from the hill
  0 siblings, 0 replies; 4+ messages in thread
From: Thunder from the hill @ 2002-06-09 21:27 UTC (permalink / raw)
  To: William Lee Irwin III; +Cc: Thomas 'Dent' Mirlacher, Linux-Kernel ML

Hi,

On Sun, 9 Jun 2002, William Lee Irwin III wrote:
> This would be a valuable contribution.

It's already there.

<URL:ftp://luckynet.dynu.com/pub/linux/2.5.21-ct1/patches/introduce-slist_h.patch.bz2>

Or in the -ct tree.

Regards,
Thunder
-- 
German attitude becoming        |	Thunder from the hill at ngforever
rightaway popular:		|
       "Get outa my way,  	|	free inhabitant not directly
    for I got a mobile phone!"	|	belonging anywhere


^ 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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.