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] Hyp compat_memory_op() and 256 GB PV

To: "mukesh.rathor@xxxxxxxxxx" <mukesh.rathor@xxxxxxxxxx>
Subject: Re: [Xen-devel] Hyp compat_memory_op() and 256 GB PV
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Wed, 18 Feb 2009 20:54:43 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 18 Feb 2009 12:55:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <499C66F6.5070307@xxxxxxxxxx>
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: AcmSAm8ok/AbXOuETxab2TaCNackZgACLB+z
Thread-topic: [Xen-devel] Hyp compat_memory_op() and 256 GB PV
User-agent: Microsoft-Entourage/12.15.0.081119
On 18/02/2009 19:52, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> wrote:

> This is a PV domain BTW, I guess xc_hvm_build.c wont' be involved. I'll
> instrument libxc and debug more... meanwhile I thought I'd post this.

Yes, my mistake, and this points us straight at the problem.

You see the xc_domain_memory_populate_physmap() call at the end of
libxc/xc_dom_x86.c:arch_setup_meminit()? That needs to be put in a for loop,
allocating no more than, say, a million pages at a time.

The patch should be very simple, so I'll leave the rest to you.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>