Am Sonntag, 16. September 2001 03:38 schrieben Sie:
> > Not that I would recommend swapping over USB anyway....
>
> Why is that?  The USB 2.0 disks seem like bandwidth won't
> be an issue.  Is it the iffy error handling going through SCSI?

No, it's basically the same problem as swapping over nfs.
Sometimes not only GFP_ATOMIC is needed, but failure due to a lack of memory 
is not an option either. You might need to swap to free memory, yet you need 
free memory to do io. You now have a serious problem.

Plus of course, the issue of disconnect on a device holding a swapfile.

> > Suggestions for how to fix it?

None. You'd need to reserve the maximum amount of free pages io to swap 
files/partitions might need. Furthermore you'd need a new GFP flag to allow 
use of the reserves. There is no infrastructure for that at all.

I might be totally wrong of course :-)

        Regards
                Oliver

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to