Alan Stern wrote:
On Wed, 4 Jun 2003, Daniele Bellucci wrote:


Hi,
i've found some usb_buffer_alloc with GFP_KERNEL on in a probe function (kernel 
2.5.70).
Since "probe" isn't ever called in process context... is that correct?


You have that exactly backwards. probe() is _always_ called in process context, in fact in the context of the khubd kernel thread.

Or in the context of whatever calls usb_register() on a driver, such as modprobe.

- Dave







-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to