From owner-freebsd-hackers Mon May 11 18:16:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA01575 for freebsd-hackers-outgoing; Mon, 11 May 1998 18:16:32 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from lestat.nas.nasa.gov (lestat.nas.nasa.gov [129.99.50.29]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA01560; Mon, 11 May 1998 18:16:22 -0700 (PDT) (envelope-from thorpej@lestat.nas.nasa.gov) Received: from localhost (localhost [127.0.0.1]) by lestat.nas.nasa.gov (8.8.8/8.6.12) with SMTP id SAA02410; Mon, 11 May 1998 18:05:35 -0700 (PDT) Message-Id: <199805120105.SAA02410@lestat.nas.nasa.gov> X-Authentication-Warning: lestat.nas.nasa.gov: localhost [127.0.0.1] didn't use HELO protocol To: "Justin T. Gibbs" Cc: Julian Assange , gibbs@FreeBSD.ORG, hackers@FreeBSD.ORG, dyson@FreeBSD.ORG, mrg@eterna.com.au, mckusick@mckusick.com Subject: Re: more queue.h brokenness Reply-To: Jason Thorpe From: Jason Thorpe Date: Mon, 11 May 1998 18:05:34 -0700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 11 May 1998 18:21:46 -0600 "Justin T. Gibbs" wrote: > For -stable? Yes, it was me that brought currents sys/queue.h in. The > changes that were made to sys/queue.h in this area, however, were > performed by Kirk and are used by the soft update code. [ . . . ] > It's used in the soft update code as well as in latest version of the CAM > aic7xxx sequencer compiler. Supporting CAM was the main reason I brought > the code in. Given how the TAILQ_PREV() and TAILQ_LAST() macros work (when I realized how they work, I had to stop, get up, and go get another cup of coffee to calm my nerves), I just have to ask: "Why no just use CIRCLEQ?" I mean, that's what they're for, and they're not really that much more expensive (only on insertion; an extra pointer indirection, and modify two elements rather than one). Jason R. Thorpe thorpej@nas.nasa.gov NASA Ames Research Center Home: +1 408 866 1912 NAS: M/S 258-5 Work: +1 650 604 0935 Moffett Field, CA 94035 Pager: +1 650 428 6939 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message