lkml.org 
[lkml]   [2006]   [Oct]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Use extents for recording what swap is allocated.
From
Date
Hi.

On Tue, 2006-10-24 at 23:47 +0100, Christoph Hellwig wrote:
> On Wed, Oct 25, 2006 at 08:06:36AM +1000, Nigel Cunningham wrote:
> > IIRC, I avoided list.h because I only wanted a singly linked list (it
> > never gets traversed backwards). List.h looks to me like all doubly
> > linked lists. Do you know if there are any other singly linked list
> > implementations I could piggy-back?
> >
> > That said, since there's normally not that many extents, I could switch
> > quite easily and it wouldn't normally waste much memory.
>
> If the overhead doesn't matter for you (and I doubt it does) I'd say just
> use list.h. Reusing existing code that doesn't need to be debugged and
> is idiomatically readable to everyone is very helpfull.

Ok.

Regards,

Nigel

-
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: 2006-10-25 01:07    [W:0.072 / U:3.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site