lkml.org 
[lkml]   [2004]   [Oct]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: single linked list header in kernel?
Matthias Urlichs wrote:
> Hi, Chris Friesen wrote:

>>Is there any plan to put a singly-linked list implementation into the kernel? I
>>mean sure its simple, but we've got the double-linked one there...

> What would you use one for? Just putting stuff in the kernel because it's
> not there yet is nonsense.

There are various places where there are open-coded single-linked list
implementations. This would just unify them to a single implementation. On a
previous occasion, someone estimated 42 instances where slist_for_each() could
be used in net/core alone.

Chris
-
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/

\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.049 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site