From owner-freebsd-stable@FreeBSD.ORG Sat Oct 11 19:37:17 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BCAE99; Sat, 11 Oct 2014 19:37:17 +0000 (UTC) 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 34EECE9F; Sat, 11 Oct 2014 19:37:17 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7D771B962; Sat, 11 Oct 2014 15:37:15 -0400 (EDT) From: John Baldwin To: TAKAHASHI Yoshihiro Subject: Re: [PATCH] Lock mse(4): test or the driver will be removed Date: Sat, 11 Oct 2014 15:37:09 -0400 Message-ID: <2763834.PSmF5d9rpd@ralph.baldwin.cx> User-Agent: KMail/4.12.5 (FreeBSD/10.1-BETA2; KDE/4.12.5; amd64; ; ) In-Reply-To: <20141011.222624.2093799558803418171.nyan@FreeBSD.org> References: <9831000.NFouVsJ1m1@ralph.baldwin.cx> <20141011.222624.2093799558803418171.nyan@FreeBSD.org> 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); Sat, 11 Oct 2014 15:37:15 -0400 (EDT) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Oct 2014 19:37:17 -0000 On Saturday, October 11, 2014 10:26:24 PM TAKAHASHI Yoshihiro wrote: > In article <9831000.NFouVsJ1m1@ralph.baldwin.cx> > > John Baldwin writes: > > This patch adds locking to mse(4) and marks it MPSAFE. It also adds some > > other cleanups such as using bus_*() instead of bus_space_*() and > > consolidating duplicate copies of its detach routine. The patch is > > against > > HEAD but probably applies to 9 and 10 as well. > > I've tested this patch on current/pc98, and it works fine. Great, thanks! -- John Baldwin