Re: [XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-22 Thread Christian Ehrhardt
Ryan Harper wrote: 4 files changed, 72 insertions(+) xen/arch/powerpc/domain.c| 60 ++ xen/arch/powerpc/domain_build.c |5 +++ xen/include/asm-powerpc/domain.h |3 + xen/include/asm-powerpc/shadow.h |4 ++ # HG changeset patch # User Ryan

Re: [XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-22 Thread Ryan Harper
* Christian Ehrhardt [EMAIL PROTECTED] [2007-02-22 07:40]: +int do_guest_physmap_max_mem(struct domain *d, unsigned long new_max) +{ +ulong *p2m_array = NULL; +ulong *p2m_old = NULL; +ulong p2m_pages; +ulong copy_end = 0; + +/* we don't handle shrinking max_pages */ +

Re: [XenPPC] [PATCH 3 of 6] [PATCH] xen: implement guest_physmap_max_mem for ppc

2007-02-22 Thread Ryan Harper
* Hollis Blanchard [EMAIL PROTECTED] [2007-02-22 15:01]: On Wed, 2007-02-21 at 18:17 -0500, Ryan Harper wrote: 4 files changed, 72 insertions(+) xen/arch/powerpc/domain.c| 60 ++ xen/arch/powerpc/domain_build.c |5 +++

Re: [XenPPC] [PATCH 4 of 6] [PATCH] xen: implement guest_physmap_{add/remove}_page for ppc

2007-02-22 Thread Ryan Harper
* Hollis Blanchard [EMAIL PROTECTED] [2007-02-22 16:20]: On Wed, 2007-02-21 at 18:17 -0500, Ryan Harper wrote: @@ -504,17 +508,15 @@ unsigned long mfn_to_gmfn(struct domain mfn (rma_mfn + (1 d-arch.rma_order))) return mfn - rma_mfn; -/* Extent? */ -

[XenPPC] Re: xen heap size

2007-02-22 Thread Hollis Blanchard
On Thu, 2007-02-22 at 16:07 -0600, Ryan Harper wrote: IIRC, when dom0 boots with 192MB (the default) I usually see ~19MB of heap available in the boot messages on js20. Looking at js21, I see: (XEN) Xen Heap: 135MiB (138548KiB) RMA different size on js21? That's an unusual size: it's

Re: [XenPPC] Re: xen heap size

2007-02-22 Thread Jimi Xenidis
We don't consider the RMA boundary for the Xen heap at all anymore (not for a while) The Xen heap is calculated based on the estimated resources we'll need. on example is that we need to get enough HTABs for all the domain, so 1/64th of all of memory is part of the Xen heap size. check out