From owner-freebsd-current@FreeBSD.ORG Wed Aug 17 19:11:23 2005 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7CA9D16A41F for ; Wed, 17 Aug 2005 19:11:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from mv.twc.weather.com (mv.twc.weather.com [65.212.71.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A5D143D45 for ; Wed, 17 Aug 2005 19:11:22 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from [10.50.40.201] (Not Verified[10.50.40.201]) by mv.twc.weather.com with NetIQ MailMarshal (v6, 0, 3, 8) id ; Wed, 17 Aug 2005 15:26:19 -0400 From: John Baldwin To: current@FreeBSD.org Date: Wed, 17 Aug 2005 15:11:57 -0400 User-Agent: KMail/1.8 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200508171511.58378.jhb@FreeBSD.org> Cc: Joerg Pulz Subject: Locking fixes for xl(4) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 17 Aug 2005 19:11:23 -0000 The patch below fixes several locking nits including the LOR involving taskqueue_drain()for xl(4). It does not use taskqueue_stop() (it's #ifdef'd out) as it is not needed for correct operation, just as an optimization. Please test and let me know how it works. Thanks. http://www.FreeBSD.org/~jhb/patches/xl_locking.patch -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org