From owner-cvs-all  Tue Feb  6  8:44: 6 2001
Delivered-To: cvs-all@freebsd.org
Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193])
	by hub.freebsd.org (Postfix) with ESMTP
	id 02F8637B401; Tue,  6 Feb 2001 08:43:43 -0800 (PST)
Received: (from wollman@localhost)
	by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id LAA32336;
	Tue, 6 Feb 2001 11:43:32 -0500 (EST)
	(envelope-from wollman)
Date: Tue, 6 Feb 2001 11:43:32 -0500 (EST)
From: Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Message-Id: <200102061643.LAA32336@khavrinen.lcs.mit.edu>
To: Peter Wemm <peter@netplex.com.au>
Cc: 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 ... 
In-Reply-To: <200102061641.f16Gf0t48497@mobile.wemm.org>
References: <200102061012.f16ACGf96165@freefall.freebsd.org>
	<200102061641.f16Gf0t48497@mobile.wemm.org>
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

<<On Tue, 06 Feb 2001 08:41:00 -0800, Peter Wemm <peter@netplex.com.au> said:

> I thought LIST was doubly linked, which means we should be able to have a
> LIST_PREV(), right?  SLIST is singly linked as is STAILQ.

There is a LIST_PREV macro, but in order to traverse the entire list
backwards, one must first get to the very end, which requires a loop
in LIST and a single dereference in TAILQ.

-GAWollman



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