From owner-freebsd-current@freebsd.org Wed Aug 5 00:04:23 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BAF4E9B3793 for ; Wed, 5 Aug 2015 00:04:23 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 98363107D for ; Wed, 5 Aug 2015 00:04:23 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (75-48-78-19.lightspeed.cncrca.sbcglobal.net [75.48.78.19]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 735A8B926; Tue, 4 Aug 2015 20:04:21 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Cc: Conrad Meyer , Mateusz Guzik Subject: Re: unp gc vs socket close/shutdown race Date: Tue, 04 Aug 2015 14:21:10 -0700 Message-ID: <4153235.GTBni4FTu6@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 04 Aug 2015 20:04:21 -0400 (EDT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Aug 2015 00:04:23 -0000 On Sunday, July 12, 2015 10:51:57 AM Conrad Meyer wrote: > Hi all, > > (Sorry In-Reply-To is wrong; gmail isn't the most flexible MUA and I > was not subscribed to FreeBSD-Current until today.) > > I have a slightly cleaned up version of this patch in phabricator at > https://reviews.freebsd.org/D3044 . My mentor thinks it looks ok, but > we would appreciate any feedback y'all have. The PR is here: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194264 . > > Primary changes from MJG's patch: > > * Rather than adding PR_DISPOSE2 flag, we just change dom_dispose KPI. > Unix local domain is the only in-tree consumer. I see you committed this to HEAD already and I certainly prefer fixing the KPI in HEAD. However, changing the domain KPI/KBI may not be MFC'able, so you might need to use someting closer to Matuesz's original patch when you merge. -- John Baldwin