On Mon, Oct 22, 2012 at 02:10:17PM +0000, Alexander V. Chernikov wrote: A> Author: melifaro A> Date: Mon Oct 22 14:10:17 2012 A> New Revision: 241888 A> URL: http://svn.freebsd.org/changeset/base/241888 A> A> Log: A> Make PFIL use per-VNET lock instead of per-AF lock. Since most used packet A> filters (ipfw and PF) use the same ruleset with the same lock for both A> AF_INET and AF_INET6 there is no need in more fine-grade locking. A> However, it is possible to request personal lock by specifying A> PFIL_FLAG_PRIVATE_LOCK flag in pfil_head structure (see pfil.9 for A> more details). A> A> Export PFIL lock via rw_lock(9)/rm_lock(9)-like API permitting pfil consumers A> to use this lock instead of own lock. This help reducing locks on main A> traffic path. A> A> pfil_assert() is currently not implemented due to absense of rm_assert(). A> Waiting for some kind of r234648 to be merged in HEAD. A> A> This change is part of bigger patch reducing routing locking. A> A> Sponsored by: Yandex LLC A> Reviewed by: glebius, ae
I didn't review that, we have only discussed that. -- Totus tuus, Glebius. _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"