From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: Linux Xen Balloon Driver Improvement (Draft 2) Date: Mon, 15 Dec 2014 10:52:40 +0000 Message-ID: <548EBD78.8080904@citrix.com> References: <20141027123328.GA9067@zion.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141027123328.GA9067@zion.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Wei Liu , xen-devel@lists.xen.org Cc: Ian Campbell , Stefano Stabellini , Andrew Cooper , Dario Faggioli , David Vrabel , Boris Ostrovsky List-Id: xen-devel@lists.xenproject.org On 27/10/14 12:33, Wei Liu wrote: > > ### Periodically exchange normal size pages with huge pages > > Worker thread wakes up periodically to check if there are enough pages > in normal size page queue to coalesce into a huge page. If so, it will > try to exchange that huge page into a number of normal size pages with > XENMEM\_exchange hypercall. As Andrew recently pointed out[1], changes to a guest's p2m are not properly handled during migration. This would have to be fixed before we can have any sort of background memory exchange process. David [1] http://lists.xen.org/archives/html/xen-devel/2014-11/msg01954.html