Date: 23 Sep 2003 20:13:23 +0100 From: Doug Rabson <dfr@nlsystems.com> To: Peter Wemm <peter@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/sys kobj.h Message-ID: <1064344403.1428.1.camel@herring.nlsystems.com> In-Reply-To: <200309222132.h8MLWnwI044896@repoman.freebsd.org> References: <200309222132.h8MLWnwI044896@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
You can make the instrumented version even smaller by unconditionally incrementing the 'hit' counter and in kobj_lookup_method, decrementing the false hit and incrementing the 'miss' counter. On Mon, 2003-09-22 at 22:32, Peter Wemm wrote: > peter 2003/09/22 14:32:49 PDT > > FreeBSD src repository > > Modified files: > sys/sys kobj.h > Log: > Simplify the KOBJOPLOOKUP macro for the non-debug case so that gcc's > heuristics do not overestimate the code size quite so much. > > Revision Changes Path > 1.8 +13 -7 src/sys/sys/kobj.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1064344403.1428.1.camel>