On Tue, 18 Mar 2003, Oliver Neukum wrote:

> Hi,
> 
> some part of the synchronous API is used in the block io error handling
> code paths. Therefore it may use only GFP_NOIO, not GFP_KERNEL.
> Greg, please apply.

Oliver, is this meant to refer to the usb-storage module or to something
else?  For usb-storage it's true that the synchronous API is used in the
I/O error handling code paths.  But those code paths always execute in the
context of a kernel thread -- the SCSI error-handler thread -- with no
semaphores held, so it's perfectly okay for them to use GFP_KERNEL.

Alan Stern



-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to