cvs commit: src/sys/dev/cxgb cxgb_l2t.c src/sys/netinet if_ether.c
if_ether.h
Julian Elischer
julian at FreeBSD.org
Mon Dec 31 15:48:06 PST 2007
julian 2007-12-31 23:48:06 UTC
FreeBSD src repository
Modified files:
sys/dev/cxgb cxgb_l2t.c
sys/netinet if_ether.c if_ether.h
Log:
Don't duplicate the whole of arpresolve to arpresolve 2 for the sake
of two compares against 0. The negative effect of cache flushing
is probably more than the gain by not doing the two compares (the
value is almost certainly in register or at worst, cache).
Note that the uses of m_freem() are in error cases and m_freem()
handles NULL anyhow. So fast-path really isn't changed much at all.
Revision Changes Path
1.6 +10 -6 src/sys/dev/cxgb/cxgb_l2t.c
1.170 +19 -120 src/sys/netinet/if_ether.c
1.34 +0 -2 src/sys/netinet/if_ether.h
More information about the cvs-src
mailing list