Re: pre/post_reset methods for skel
Oliver Neukum <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Organization | Novell |
| Message-ID | <[email protected]> |
Am Dienstag, 8. Mai 2007 18:59 schrieb Alan Stern: > But first, I think we should be able to get rid of the skel_open_lock > mutex plus similar mutexes in other USB drivers. The problem they address > is the race between open() and disconnect() -- or more accurately, open() > and unregister_dev(). It should be fixed once and for all in usbcore. > And without relying on the BKL. > > How do you like this approach? 1. An rwsem is likely overkill. 2. I would prefer to have exclusion between open and reset, too. Apart from that, the idea is very good. Regards Oliver ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel