From: Konrad Rzeszutek Wilk Subject: Re: [Xen-devel] Re: [PATCH][v2.6.29][XEN] Return unused memory to hypervisor Date: Wed, 16 Sep 2009 09:24:56 -0400 Message-ID: <20090916132456.GA14725@phenom.dumpdata.com> References: <1582654680.152201253087647836.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> <1250041003.152221253087777235.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1250041003.152221253087777235.JavaMail.root@zmail06.collab.prod.int.phx2.redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Miroslav Rezanina Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org List-Id: xen-devel@lists.xenproject.org . snip .. > static void xen_vcpu_setup(int cpu) > { > @@ -1057,6 +1111,8 @@ static __init void xen_post_allocator_init(void) > SetPagePinned(virt_to_page(level3_user_vsyscall)); > #endif > xen_mark_init_mm_pinned(); > + > +/* xen_return_unused_memory(); */ Should this be commented out? Or do you plan to provide another patch to enable this after extensive testing?