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-ppc-devel

[Xen-devel] Re: [PATCH] [XEND] abstract architecture-specific bits in im

On Tue, Aug 29, 2006 at 09:27:58PM -0500, Hollis Blanchard wrote:

> On Tue, 2006-08-29 at 23:16 +0100, Ewan Mellor wrote:
> > On Tue, Aug 22, 2006 at 04:50:54PM -0500, Hollis Blanchard wrote:
> > 
> > > Since this patch wasn't committed, the shadow2 changes created
> > > conflicts. Here is the respin. Note that I have not tested with shadow2,
> > > but as you can see below the math doesn't need to be so complicated.
> > > 
> > > Ewan, please apply or comment.
> > 
> > Applied, thanks Hollis.  Is this your only outstanding patch? I got lost
> > when you rev'd this one a couple of times ;-)
> 
> Thanks Ewan! I will have another patch for you shortly. :)
> 
> Actually there was one bug we discovered as a result of the shadow
> merge: shadow_mem_control's arguments should be MB, not bytes. Here's
> the pseudo-diff:
> -            shadow_cur = xc.shadow_mem_control(self.domid, shadow_kb * 1024)
> +            shadow_cur = xc.shadow_mem_control(self.domid, shadow_kb / 1024)

I've done that, but with (shadow_kb + 1023) / 1024, as it needs to be rounded
up.

Cheers,

Ewan.

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