Hi!
> > In 2.4 they all run in interrupt or thread context IIRC.
> > Problematic is the SCSI error handling thread. It can call usb_reset_device()
> > which calls down and does allocations.
> > Does that thread also do the PF_MEMALLOC trick?
>
> In 2.4 it doesn't, which is rather surpising considering how many storage
> devices run over SCSI transports.
>
> In 2.6 it sets PF_IOTHREAD. I don't know if that subsumes the function of
> PF_MEMALLOC or not. The state of kerneldoc for much of the Linux core
> functionality is shocking.
PF_IOTHREAD is there for suspend/resume. It does not affect anything
else.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel