On Fri, 21 Dec 2001, David Brownell wrote:
> > > But the drivers' ID tables are part of the module ...
> > > what's the locking being done to prevent rmmod
> > > during the usb_match_id() call?
> >
> > On 2.5 it is protected, once the module subsystem patches are in, by
> > usb_match_id() not sleeping.
>
> And you're expecting every probe() to not sleep? That's not
> reasonable.
Maybe I am dense. The patch has the purpose of guarding against unload
during probe(). However this is needed during probe() itself only, as only
probe can and usually will sleep. usb_match_id() using the id_tables does
not need to guard against these tables being unloaded as usb_match_id()
does not sleep.
Regards
Oliver
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel