Date: Mon, 29 Apr 2002 18:09:42 -0400 (EDT) From: Jeff Roberson <jroberson@chesapeake.net> To: Robert Watson <rwatson@FreeBSD.org> Cc: Alfred Perlstein <bright@mu.org>, <cvs-committers@FreeBSD.org>, <cvs-all@FreeBSD.org> Subject: Re: cvs commit: src/sys/kern kern_malloc.c Message-ID: <20020429180632.K18391-100000@mail.chesapeake.net> In-Reply-To: <Pine.NEB.3.96L.1020429175939.64976a-100000@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Apr 2002, Robert Watson wrote: > > On Mon, 29 Apr 2002, Alfred Perlstein wrote: > > > > :( > > > > What's with the decimal powers of two here? This should be using a > > shift to avoid this sort of problem. > > Well, I was just restoring the file to its previous state, so I adopted > the same formatting that was there previously. The ommission was a > copy/paste issue from my local tree -- it didn't affect correctness, just > wastage by bumping you to the next bucket. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > It was done on purpose. These should not stay powers of two. There is a comment about this above the code. I didn't want to imply any sort of relationship between powers of two and the bucket sizes. If they were off at all it wouldn't matter anyway. Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020429180632.K18391-100000>