Re: [linux-usb-devel] OOM and USB, latest Linux 2.6

From: Alan Stern
Date: Sat Feb 17 2007 - 12:08:13 EST


On Sat, 17 Feb 2007, Dan Aloni wrote:

> Hello,
>
> Is it possible that OOM isn't handled very well if say, my entire
> file system structure is on a USB storage device?
>
> I'm not an expert on this particular matter but I'm pretty sure
> that I noticed GFP_KERNEL allocation being done on the write-out
> path in the usb-storage kernel thread, leading to a deadlock
> during OOM.

Can you be any more specific than that? usb-storage should use only
GFP_NOIO in its I/O paths.

Alan Stern

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/