From owner-freebsd-usb@FreeBSD.ORG Mon Jan 10 00:14:08 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 07EF116A4CE for ; Mon, 10 Jan 2005 00:14:08 +0000 (GMT) Received: from pimout3-ext.prodigy.net (pimout3-ext.prodigy.net [207.115.63.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6CC0D43D1F for ; Mon, 10 Jan 2005 00:14:07 +0000 (GMT) (envelope-from julian@elischer.org) Received: from [192.168.1.102] (adsl-216-100-134-143.dsl.snfc21.pacbell.net [216.100.134.143])j0A0DwHg333130; Sun, 9 Jan 2005 19:14:03 -0500 Message-ID: <41E1C8C5.4070605@elischer.org> Date: Sun, 09 Jan 2005 16:13:57 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8a3) Gecko/20041017 X-Accept-Language: en, hu MIME-Version: 1.0 To: "M. Warner Losh" References: <6.1.2.0.2.20050109174427.0802c640@pop3> <20050109.125213.02300240.imp@bsdimp.com> In-Reply-To: <20050109.125213.02300240.imp@bsdimp.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-usb@hub.freebsd.org cc: dinkevich@gmail.com 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 00:14:08 -0000 M. Warner Losh wrote: > 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. it may be worth just adding a single "usb system" lock.. > > Warner > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org"