From owner-freebsd-current@FreeBSD.ORG Wed Apr 28 20:54:07 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 79DA616A4CE; Wed, 28 Apr 2004 20:54:07 -0700 (PDT) Received: from sev.net.ua (sev.net.ua [212.86.233.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8520F43D49; Wed, 28 Apr 2004 20:54:06 -0700 (PDT) (envelope-from shadow@psoft.net) Received: from berloga.shadowland ([213.227.237.65]) by sev.net.ua (8.12.10/8.12.9) with ESMTP id i3T3s5v0092421; Thu, 29 Apr 2004 06:54:05 +0300 (EEST) (envelope-from shadow@psoft.net) Received: from berloga.shadowland (berloga.shadowland [127.0.0.1]) by berloga.shadowland (8.12.10/8.12.10) with ESMTP id i3SIJDLt011373; Wed, 28 Apr 2004 21:19:13 +0300 Received: (from root@localhost) by berloga.shadowland (8.12.10/8.12.10/Submit) id i3SIJDpR011371; Wed, 28 Apr 2004 21:19:13 +0300 From: Alex Lyashkov To: John Baldwin In-Reply-To: <200404281329.16675.jhb@FreeBSD.org> References: <1083133582.8250.38.camel@berloga.shadowland> <200404281329.16675.jhb@FreeBSD.org> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: quoted-printable Organization: PSoft Message-Id: <1083176353.9714.44.camel@berloga.shadowland> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-1) Date: Wed, 28 Apr 2004 21:19:13 +0300 cc: "freebsd-current@freebsd.org" 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: Thu, 29 Apr 2004 03:54:07 -0000 =F7 =F3=D2=C4, 28.04.2004, =D7 20:29, John Baldwin =D0=C9=DB=C5=D4: > 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. >=20 > I'd actually rather see the FOREACH_PROC macro removed, I don't think hid= ing=20 > the fact that it's a TAILQ is all that useful. It very very better if implemented per jail process list and process count limit. I started job with porting freevps project to FreeBSD platform and this patch help me with it. I think more easy change one place in headers than many places in code who have work direct with list. --=20 Alex Lyashkov PSoft