cvs commit: src/sys/net pfil.h
glebius at FreeBSD.org
Fri Jun 8 13:50:18 UTC 2007
On Fri, Jun 08, 2007 at 12:43:26PM +0000, Andrew Gallatin wrote:
A> gallatin 2007-06-08 12:43:26 UTC
A> FreeBSD src repository
A> Modified files:
A> sys/net pfil.h
A> Correct the definition of PFIL_HOOKED() so that it compares
A> the value of ph_nhooks to zero, not the address. This removes
A> extranious calls to pfil_run_hooks (and an rw lock) from the
A> network stack's critical path when no pfil hooks are active.
A> Reviewed by: csjp
A> Sponsored by: Myricom Inc.
Nice! I guess you can tell how much performance did we lose before?
Do you plan to MFC this?
Totus tuus, Glebius.
More information about the cvs-all