From owner-freebsd-usb@FreeBSD.ORG Mon Jan 10 07:20:45 2005 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C7216A4CE for ; Mon, 10 Jan 2005 07:20:45 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E7AFB43D46 for ; Mon, 10 Jan 2005 07:20:44 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0A7Jb60030400; Mon, 10 Jan 2005 00:19:38 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Mon, 10 Jan 2005 00:20:16 -0700 (MST) Message-Id: <20050110.002016.127178679.imp@bsdimp.com> To: dinkevich@gmail.com From: "M. Warner Losh" In-Reply-To: <6.1.2.0.2.20050110085622.0338a980@pop.gmail.com> References: <41E1C8C5.4070605@elischer.org> <20050109.200910.28786915.imp@bsdimp.com> <6.1.2.0.2.20050110085622.0338a980@pop.gmail.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-usb@hub.freebsd.org cc: julian@elischer.org Subject: Re: stack synchronization X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jan 2005 07:20:45 -0000 In message: <6.1.2.0.2.20050110085622.0338a980@pop.gmail.com> Boris Dinkevich writes: : I see no reference to giant locking in 5.3 (except in event/task threads) It is implicit... : Does this not affect performance when multiple devices are connected to the : host ? Yes. : Also, I have seen a modification to the bsd stack by Hans Petter Selasky, : where he uses per bus mtxes for locking, : is this not the better approach to the problem ? Likely, but there are some issues with Hans' driver still. : Interrupt is synced via Giant ? Yes. Warner