From owner-cvs-all@FreeBSD.ORG Mon Dec 1 17:37:18 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E7BB16A4CE; Mon, 1 Dec 2003 17:37:18 -0800 (PST) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387CA43FCB; Mon, 1 Dec 2003 17:37:17 -0800 (PST) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 1B8502A7EA; Mon, 1 Dec 2003 17:37:17 -0800 (PST) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Jeff Roberson In-Reply-To: <20031201175237.S4201-100000@mail.chesapeake.net> Date: Mon, 01 Dec 2003 17:37:17 -0800 From: Peter Wemm Message-Id: <20031202013717.1B8502A7EA@canning.wemm.org> cc: cvs-src@FreeBSD.org cc: Jeff Roberson cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/alpha/alpha mp_machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Dec 2003 01:37:18 -0000 Jeff Roberson wrote: > > On Mon, 1 Dec 2003, John Baldwin wrote: > > Heh. I am already waiting for approval from re@ to fix x86. That was > > definitely my bug. > > Well, since ULE and UMA are the only two subsystems which make use of > mp_maxid, can I request that it be one over the maximum id so that I can > use it in loops like: > for (i = 0; i < mp_maxid; i++) { > > Otherwise I guess I can do <=. What? Change your code to: for (i = 0; i <= mp_maxid; i++) ? :-) Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5