Am Donnerstag, 29. Juli 2004 19:54 schrieb Greg KH: > On Thu, Jul 29, 2004 at 06:19:15PM +0200, Duncan Sands wrote: > > Rather than taking the semaphore dev->serialize in the > > top-level ioctl handler, usbdev_ioctl, push it down to the > > individual ioctl routines. This is a Good Thing because > > the ioctl routines do plenty of copy_to/from_user calls. > > So? It's safe to hold a semaphore while copying data from or to > userspace. I don't really see that this will fix much, becides make it
True, but it may mean holding up khubd for seconds in the worst case. So there's a latency issue. Whether it's worth it is another question. Regards Oliver ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel