Date: Mon, 31 Dec 2007 23:48:06 +0000 (UTC) From: Julian Elischer <julian@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/cxgb cxgb_l2t.c src/sys/netinet if_ether.c if_ether.h Message-ID: <200712312348.lBVNm66P031549@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712312348.lBVNm66P031549>
