From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 11:06:29 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFDFB16A4CF for ; Wed, 28 Apr 2004 11:06:29 -0700 (PDT) Received: from mail3.speakeasy.net (mail3.speakeasy.net [216.254.0.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C19943D45 for ; Wed, 28 Apr 2004 11:06:27 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 18501 invoked from network); 28 Apr 2004 18:06:26 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 28 Apr 2004 18:06:26 -0000 Received: from 10.50.40.205 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i3SI5war015834; Wed, 28 Apr 2004 14:06:22 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-current@FreeBSD.org Date: Wed, 28 Apr 2004 13:29:16 -0400 User-Agent: KMail/1.6 References: <1083133582.8250.38.camel@berloga.shadowland> In-Reply-To: <1083133582.8250.38.camel@berloga.shadowland> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200404281329.16675.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: "freebsd-current@freebsd.org" cc: Alex Lyashkov Subject: Re: code cleanup X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2004 18:06:29 -0000 On Wednesday 28 April 2004 02:26 am, Alex Lyashkov wrote: > Hi All > > how i see many points at kernel work with allproc list direct, but > proc.h introduce macros FOREACH_PROC_IN_SYSTEM. > This patch clean this places. I'd actually rather see the FOREACH_PROC macro removed, I don't think hiding the fact that it's a TAILQ is all that useful. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org