cvs commit: src/sys/sys kobj.h

Doug Rabson dfr at nlsystems.com
Tue Sep 23 12:13:39 PDT 2003


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



More information about the cvs-src mailing list