On Thu, Mar 14, 2002 at 03:31:20PM +0530, V Ganesh wrote: > here's the patch updating all serial drivers to correctly use GFP_ATOMIC > where necessary. in many cases, GFP_KERNEL was being used with kmalloc() in > functions which could be called in bh context. this has also been fixed. > a couple of points: > 1. some drivers, especially io_edgeport make use of helper functions which > actually call usb_submit_urb(). even if one of the callers is bh/irq > context callable, the helper function must use GFP_ATOMIC. > 2. digi_accelport submits most urbs under a spinlock, hence probably > uses more GFP_ATOMIC than actually necessary.
Thanks a lot for this patch, I really appreciate it. It looks fine, and also thanks for fixing those io_edgeport potential problems. Applied. greg k-h _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel