From owner-freebsd-usb@FreeBSD.ORG Sun Jan 9 19:53:28 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 8C1DD16A4CE for ; Sun, 9 Jan 2005 19:53:28 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 164DC43D53 for ; Sun, 9 Jan 2005 19:53:28 +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 j09JpZZl013134; Sun, 9 Jan 2005 12:51:35 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sun, 09 Jan 2005 12:52:13 -0700 (MST) Message-Id: <20050109.125213.02300240.imp@bsdimp.com> To: dinkevich@gmail.com From: "M. Warner Losh" In-Reply-To: <6.1.2.0.2.20050109174427.0802c640@pop3> References: <6.1.2.0.2.20050109174427.0802c640@pop3> 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 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: Sun, 09 Jan 2005 19:53:28 -0000 In message: <6.1.2.0.2.20050109174427.0802c640@pop3> Boris Dinkevich writes: : Hello everyone, : : When going over the usb-host stack, it appears that synchronization is done : via splusb/x. : But in the 5.3 release, these functions are implemented at stubs. : : How is the sync done then ? : : Also, with soft_interrupts, it appears there is no need for spls, am I : correct ? Giant locking. I have patches to move the interrupt outside of giant, but the rest of the stack is still under giant locking. Warner