[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1003150955170.1743-100000@iolanthe.rowland.org>
Date: Mon, 15 Mar 2010 09:57:55 -0400 (EDT)
From: Alan Stern <stern@...land.harvard.edu>
To: Andrew Morton <akpm@...ux-foundation.org>
cc: Mel Gorman <mel@....ul.ie>,
Markus Rechberger <mrechberger@...il.com>,
LKML <linux-kernel@...r.kernel.org>, Greg KH <greg@...ah.com>
Subject: Re: USBFS Memory allocation Bug
On Sun, 14 Mar 2010, Andrew Morton wrote:
> > > 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.
>
> Adding swap space is unlikely to help here. For an order-6 allocation
> the page allocator will go into wtf-youre-kidding-me mode and won't
> even bother trying.
>
> Asking the allocator for 2^6 physically contiguous pages is terribly
> unreliable and shouldn't be done by any kernel code which wants to be
> useful.
Then the user program shouldn't make I/O requests requiring such large
amounts of contiguous kernel memory.
Even if a dedicated mempool is set up to ease the problem, there's
still no guarantee that any particular request will be satisfied
(particularly if multiple requests are made at the same time).
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists