Date: Mon, 22 Oct 2012 19:20:02 +0400 From: "Alexander V. Chernikov" <melifaro@FreeBSD.org> To: Gleb Smirnoff <glebius@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: <50856422.80702@FreeBSD.org> In-Reply-To: <20121022151716.GE70741@FreeBSD.org> References: <201210221410.q9MEAH9d025513@svn.freebsd.org> <20121022151716.GE70741@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22.10.2012 19:17, Gleb Smirnoff wrote: > 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. Ah, ok. So commit message should be read as s/Reviewed by:/Discussed with:/ > -- WBR, Alexander
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?50856422.80702>