WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Baffled by multipage_allocation_permitted()

To: Dave McCracken <dcm@xxxxxxxx>
Subject: Re: [Xen-devel] Baffled by multipage_allocation_permitted()
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 16 Jun 2009 14:21:00 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxxxx>
Delivery-date: Tue, 16 Jun 2009 06:21:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200906160810.29184.dcm@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acnug+a0u7bHct0IQJ6D+PeSS5IG1wAAWODk
Thread-topic: [Xen-devel] Baffled by multipage_allocation_permitted()
User-agent: Microsoft-Entourage/12.17.0.090302
On 16/06/2009 14:10, "Dave McCracken" <dcm@xxxxxxxx> 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



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel