[Bug 143622] [pfil] [patch] unlock pfil lock while calling firewall hooks
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Nov 8 22:52:00 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=143622
Kristof Provost <kp at freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kp at freebsd.org
--- Comment #5 from Kristof Provost <kp at freebsd.org> ---
(In reply to Max Laier from comment #2)
While rmlocks are relatively lightweight there is still a non-zero overhead.
For the purposes of a test the lock can simply be removed, and without it I see
~2% more packets per second in pf than with it.
I've been thinking about replacing it with a CK_LIST and epoch based cleanup,
but I stopped working on it when I spotted that ipfw relies on the lock. It
should be possible to move that into ipfw, but I'm not sure the 2% is worth
that work.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-net
mailing list