Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2012 19:17:16 +0400
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        "Alexander V. Chernikov" <melifaro@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r241888 - in head: share/man/man9 sys/net
Message-ID:  <20121022151716.GE70741@FreeBSD.org>
In-Reply-To: <201210221410.q9MEAH9d025513@svn.freebsd.org>
References:  <201210221410.q9MEAH9d025513@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121022151716.GE70741>