Date: Sun, 10 Sep 2000 13:24:28 -0700 (PDT) From: John Baldwin <jhb@pike.osd.bsdi.com> To: Doug Rabson <dfr@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys ktr.h Message-ID: <200009102024.NAA24747@pike.osd.bsdi.com> In-Reply-To: <200009101436.HAA12317@freefall.freebsd.org> from Doug Rabson at "Sep 10, 2000 07:36:55 am"
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote: > dfr 2000/09/10 07:36:55 PDT > > Modified files: > sys/sys ktr.h > Log: > Use '&' instead of '%' to calculate the new value for ktr_idx. Err, it isn't guaranteed that KTR_ENTRIES will be a power of 2. If it is, gcc should be optimizing the mod to a binary and though. -- John Baldwin <jhb@bsdi.com> -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ 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?200009102024.NAA24747>