svn commit: r189619 - head/sys/dev/cardbus

John Baldwin jhb at freebsd.org
Thu Mar 12 06:59:06 PDT 2009


On Thursday 12 March 2009 3:03:28 am M. Warner Losh wrote:
> In message: <200903100904.38679.jhb at freebsd.org>
>             John Baldwin <jhb at freebsd.org> 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


More information about the svn-src-all mailing list