Date: Mon, 01 Dec 2003 17:37:17 -0800 From: Peter Wemm <peter@wemm.org> To: Jeff Roberson <jroberson@chesapeake.net> Cc: John Baldwin <jhb@FreeBSD.org> Subject: Re: cvs commit: src/sys/alpha/alpha mp_machdep.c Message-ID: <20031202013717.1B8502A7EA@canning.wemm.org> In-Reply-To: <20031201175237.S4201-100000@mail.chesapeake.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031202013717.1B8502A7EA>