From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: Baffled by multipage_allocation_permitted() Date: Tue, 16 Jun 2009 14:21:00 +0100 Message-ID: References: <200906160810.29184.dcm@mccr.org> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200906160810.29184.dcm@mccr.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave McCracken Cc: "xen-devel@lists.xensource.com" , Jan Beulich List-Id: xen-devel@lists.xenproject.org On 16/06/2009 14:10, "Dave McCracken" wrote: > Thanks for the change. That resolves my problem. > > Out of curiosity, why is it necessary to restrict the size of multipage > allocations at all? I'd think the memory size limits would adequately protect > against any guest going wild with it. What harm could come from, for example, > a guest asking for a 16M contiguous page? I don't know of any current need > for such a thing. I'm just wondering why we restrict it. Such regions could be a precious resource when driving some hardware devices which communicate via large contiguous memory areas. As I said, we haven't thought about it too hard, so it may indeed be sensible to relax this further in future. -- Keir