From owner-svn-src-head@FreeBSD.ORG Thu Mar 12 13:59:04 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 717701065773; Thu, 12 Mar 2009 13:59:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 3E8A78FC15; Thu, 12 Mar 2009 13:59:04 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (pool-98-109-39-197.nwrknj.fios.verizon.net [98.109.39.197]) by cyrus.watson.org (Postfix) with ESMTPSA id D8C1D46B03; Thu, 12 Mar 2009 09:59:03 -0400 (EDT) Received: from localhost (john@localhost [127.0.0.1]) (authenticated bits=0) by server.baldwin.cx (8.14.3/8.14.3) with ESMTP id n2CDwVOJ046493; Thu, 12 Mar 2009 09:58:58 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: "M. Warner Losh" Date: Thu, 12 Mar 2009 08:51:35 -0400 User-Agent: KMail/1.9.7 References: <200903101210.n2ACApQ0061838@svn.freebsd.org> <200903100904.38679.jhb@freebsd.org> <20090312.010328.-1666181653.imp@bsdimp.com> In-Reply-To: <20090312.010328.-1666181653.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903120851.36103.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-2.0.2 (server.baldwin.cx [127.0.0.1]); Thu, 12 Mar 2009 09:58:58 -0400 (EDT) X-Virus-Scanned: ClamAV 0.94.2/9100/Thu Mar 12 05:07:56 2009 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on server.baldwin.cx Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r189619 - head/sys/dev/cardbus X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Mar 2009 13:59:06 -0000 On Thursday 12 March 2009 3:03:28 am M. Warner Losh wrote: > In message: <200903100904.38679.jhb@freebsd.org> > John Baldwin writes: > : It might be best to do this before releasing the resources rather than > : afterwards. > > It certainly does no harm to move them, and I will do so. > > However, what problems do you see with doing it in the current order? > I can't think of anything bad that could happen, but my imagination > has been a bit poor lately... The only thing that could theoretically happen is that the resources could be given to another device while the cardbus card is still decoding them. In practice this can't really happen right now since new-bus is still single-threaded and I believe most cardbus busses are subtractive-decode. -- John Baldwin