Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Feb 2001 18:09:41 +0100
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/awi awi.c src/sys/dev/ed if_ed.c src/sys/dev/fe if_fe.c src/sys/dev/ie if_ie.c src/sys/dev/lnc if_lnc.c src/sys/dev/pdq pdq_ifsubr.c src/sys/dev/ray if_ray.c src/sys/dev/sn if_sn.c src/sys/dev/snc dp83932.c src/sys/dev/usb ... 
Message-ID:  <35709.981479381@critter>
In-Reply-To: Your message of "Tue, 06 Feb 2001 09:06:12 PST." <200102061706.f16H6Ct48905@mobile.wemm.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <200102061706.f16H6Ct48905@mobile.wemm.org>, Peter Wemm writes:


>> There is no LIST_PREV macro in any versions of the file I know off.
>> 
>> See previous email to Peter why making one would be awkward.
>
>Depends on what you want to do.  Traversing a list from the end backwards
>is not the only reason for having it.  NFS wants it, for example.

Unless there is a major cost associated with the extra pointer in the
TAILQ_HEAD compared to LIST_HEAD, you should convert it to use TAILQ
then.

--
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35709.981479381>