From owner-freebsd-stable@FreeBSD.ORG Sat Oct 11 13:26:33 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 07237209; Sat, 11 Oct 2014 13:26:33 +0000 (UTC) Received: from sakura.ccs.furiru.org (sakura.ccs.furiru.org [IPv6:2001:2f0:104:8060::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B126F6BF; Sat, 11 Oct 2014 13:26:32 +0000 (UTC) Received: from localhost (authenticated bits=0) by sakura.ccs.furiru.org (unknown) with ESMTP id s9BDQPrs019072; Sat, 11 Oct 2014 22:26:28 +0900 (JST) (envelope-from nyan@FreeBSD.org) Date: Sat, 11 Oct 2014 22:26:24 +0900 (JST) Message-Id: <20141011.222624.2093799558803418171.nyan@FreeBSD.org> To: jhb@freebsd.org Subject: Re: [PATCH] Lock mse(4): test or the driver will be removed From: TAKAHASHI Yoshihiro In-Reply-To: <9831000.NFouVsJ1m1@ralph.baldwin.cx> References: <9831000.NFouVsJ1m1@ralph.baldwin.cx> X-Mailer: Mew version 6.3 on Emacs 24.3 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 13:26:33 -0000 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. --- TAKAHASHI Yoshihiro