Re: USBFS Memory allocation Bug

From: Alan Stern
Date: Thu Mar 11 2010 - 11:56:28 EST


On Wed, 10 Mar 2010, Mel Gorman wrote:

> > > Is there any means for the driver to take the large request, break it up
> > > into multiple smaller requests and submit them one at a time?
> >
> > In theory almost anything is possible. But it would be a big effort
> > and not consistent with the way the rest of the driver works.
> >
>
> Then about the only other suggestion would be a mempool containing a small
> number of largest-possible buffers that is enabled if there is no swap
> available.

Considering that this is the first report I have heard about this sort
of problem, and that adding swap space would probably fix it, I'm not
inclined to make any changes.

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/