[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] Re: [PATCH][v2.6.29][XEN] Return unused memory to hypervisor
----- "Jeremy Fitzhardinge" <jeremy@xxxxxxxx> wrote:
> From: "Jeremy Fitzhardinge" <jeremy@xxxxxxxx>
> To: "Miroslav Rezanina" <mrezanin@xxxxxxxxxx>
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, "Konrad
> Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>
> 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
> 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
> 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.
> Xen-devel mailing list
Software Engineer - Virtualization Team - XEN kernel
Xen-devel mailing list