[<prev] [next>] [day] [month] [year] [list]
Message-ID: <255160165.266571253250157721.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com>
Date: Fri, 18 Sep 2009 01:02:37 -0400 (EDT)
From: Miroslav Rezanina <mrezanin@...hat.com>
To: Jeremy Fitzhardinge <jeremy@...p.org>
Cc: xen-devel@...ts.xensource.com, linux-kernel@...r.kernel.org,
Konrad Rzeszutek Wilk <konrad.wilk@...cle.com>
Subject: Re: [Xen-devel] Re: [PATCH][v2.6.29][XEN] Return unused memory to
hypervisor
----- "Jeremy Fitzhardinge" <jeremy@...p.org> wrote:
> From: "Jeremy Fitzhardinge" <jeremy@...p.org>
> To: "Miroslav Rezanina" <mrezanin@...hat.com>
> Cc: xen-devel@...ts.xensource.com, linux-kernel@...r.kernel.org, "Konrad Rzeszutek Wilk" <konrad.wilk@...cle.com>
> Sent: Thursday, September 17, 2009 6:47:10 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
> Subject: Re: [Xen-devel] Re: [PATCH][v2.6.29][XEN] Return unused memory to hypervisor
>
> On 09/17/09 01:14, Miroslav Rezanina wrote:
> > Hi Jeremy,
> > I check your application. It won't work correctly. You are calling
> return_unused_memory in xen_memory_setup that is too soon.
> > When you are calling it, there is no hole in map in any case.
> Calling should be in xen_post_allocator_init function (in
> arch/x86/xen/mmu.c).
> >
>
> OK. Where does the e820 map get changed in the meantime?
>
xen_memory_setup just set RAM map from 0 to initial nr_pages. Only one place I'm sure map is changed is
parsing mem parameter. You mentioned that there can be other cases when some parts of map are removed.
> J
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@...ts.xensource.com
> http://lists.xensource.com/xen-devel
--
Miroslav Rezanina
Software Engineer - Virtualization Team - XEN kernel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists