From owner-svn-src-head@FreeBSD.ORG Mon Oct 22 15:21:22 2012 Return-Path: Delivered-To: svn-src-head@FreeBSD.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 9B8F1B7B; Mon, 22 Oct 2012 15:21:22 +0000 (UTC) (envelope-from melifaro@FreeBSD.org) Received: from dhcp170-36-red.yandex.net (freefall.FreeBSD.org [8.8.178.135]) by mx2.freebsd.org (Postfix) with ESMTP id 7D42A3B5B52; Mon, 22 Oct 2012 15:21:21 +0000 (UTC) Message-ID: <50856422.80702@FreeBSD.org> Date: Mon, 22 Oct 2012 19:20:02 +0400 From: "Alexander V. Chernikov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120627 Thunderbird/13.0.1 MIME-Version: 1.0 To: Gleb Smirnoff Subject: Re: svn commit: r241888 - in head: share/man/man9 sys/net References: <201210221410.q9MEAH9d025513@svn.freebsd.org> <20121022151716.GE70741@FreeBSD.org> In-Reply-To: <20121022151716.GE70741@FreeBSD.org> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 15:21:22 -0000 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