Miroslav Rezanina
2010-Oct-14 12:21 UTC
[Xen-devel] Why reserve maxmem on restore on ia64?
Hi, while checking the code I found out that when we restore guest on ia64 machine, we reserve up to maxmem pages and than free unused pages. As I''m not familiar with ia64 platform, I''d like to ask what''s the reason for such a behavior? This prevent restoring guest on machine where is not enough memory available to alocate maxmem but there''s enough memory for alocating memory. Thanks for answer, Mirek -- Miroslav Rezanina Software Engineer - Virtualization Team - XEN kernel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Because noone has bothered to merge with the x86 restore code, or otherwise implement the more sensible allocation strategy. -- Keir On 14/10/2010 13:21, "Miroslav Rezanina" <mrezanin@redhat.com> wrote:> Hi, > while checking the code I found out that when we restore guest on ia64 > machine, we reserve up to maxmem pages and than free unused pages. As I''m not > familiar with ia64 platform, I''d like to ask what''s the reason for such a > behavior? This prevent restoring guest on machine where is not enough memory > available to alocate maxmem but there''s enough memory for alocating memory. > > Thanks for answer, > Mirek_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel