From owner-freebsd-current Thu Feb 13 8:18:39 2003 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 9381F37B401 for ; Thu, 13 Feb 2003 08:18:38 -0800 (PST) Received: from sentry.gw.tislabs.com (sentry.gw.tislabs.com [192.94.214.100]) by mx1.FreeBSD.org (Postfix) with ESMTP id C769B43F85 for ; Thu, 13 Feb 2003 08:18:37 -0800 (PST) (envelope-from amigus@tislabs.com) Received: by sentry.gw.tislabs.com; id LAA09067; Thu, 13 Feb 2003 11:19:17 -0500 (EST) Received: from raven.gw.tislabs.com(10.33.1.50) by sentry.gw.tislabs.com via smap (V5.5) id xma008999; Thu, 13 Feb 03 11:18:13 -0500 Received: (from amigus@localhost) by raven.gw.tislabs.com (8.11.6/8.11.6) id h1DGHWi10543; Thu, 13 Feb 2003 11:17:32 -0500 (EST) Date: Thu, 13 Feb 2003 11:17:32 -0500 From: Adam Migus To: "Andrew R. Reiter" Cc: current@FreeBSD.org Subject: Re: usbd patch (MAXUSBDEV no more) Message-ID: <20030213161732.GA10500@raven.gw.tislabs.com> References: <20030213160229.GA9742@raven.gw.tislabs.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.27i Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Me too, so if it does require one someone please tell me. I obviously read the code and from my understanding no locking is fine but I could be wrong. On Thu, Feb 13, 2003 at 11:13:31AM -0500, Andrew R. Reiter wrote: > On Thu, 13 Feb 2003, Adam Migus wrote: > > :This patch makes usbd track a dynamic number of devices using a list > :instead of the static array of 4 devices. It's implemented as a list > :but it's very easy to change. > > Does this list want a lock to protect it? I am unfamiliar with usb > locking at the moment, so ignore if stupid. > > Cheers, > Andrew > > -- > Andrew R. Reiter > arr@watson.org > arr@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message