lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061024224731.GA31091@infradead.org>
Date:	Tue, 24 Oct 2006 23:47:31 +0100
From:	Christoph Hellwig <hch@...radead.org>
To:	Nigel Cunningham <ncunningham@...uxmail.org>
Cc:	Christoph Hellwig <hch@...radead.org>,
	Andrew Morton <akpm@...l.org>,
	"Rafael J. Wysocki" <rjw@...k.pl>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Use extents for recording what swap is allocated.

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.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ