Am Donnerstag, 27. Juni 2002 14:49 schrieb Soewono Effendi: > Hello there, > > after looking around in source codes and searching in mailing list and > G*gle, I still couldn't find any hints why there exists only one "khubd" > in USB Stack. Isn't it "better (performance?)" to have one "khubd" for > each HC? (thinking of multi processor platform) What was the > design/implementation decision?
Hotpluggings are rare events in comparison. One task is enough, more would just waste memory. Besides they take BKL and thus couldn't run in concurrency. > Is there any informations about "URB lifetime" ? who allocates and > deallocates it, when one should/shouldn't remove it, etc. In 2.5 the device driver allocates it. There's usage counting done, so errornously freeing it is not an issue. You should not touch it after usb_submit_urb() until either usb_unlink_urb() returns or the completion handler is called. Regards Oliver ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel