From: Tim Deegan Subject: Re: non-zero order allocations in shadow code may prevent live migration Date: Thu, 27 Sep 2007 13:07:03 +0100 Message-ID: <20070927120703.GC23760@york.uk.xensource.com> References: <46FB995B.76E4.0078.0@novell.com> <20070927104141.GA23760@york.uk.xensource.com> <46FBADD9.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: <46FBADD9.76E4.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 12:19 +0100 on 27 Sep (1190895561), Jan Beulich wrote: > So then I'll go ahead with implementing the described change (I'm actually > intending to have shadow_prealloc() take not just an order, but also a count > parameter - in a number of places it is being called with SHADOW_MAX_ORDER > for no reason other than wanting 3 or 4 single pages). shadow_prealloc could just as easily take no arguments and always free four pages in the highest order that's in use. There's no real benefit from fine-tuning it as the operations that free shadow memory operate in much bigger increments anyway. Cheers, Tim. -- Tim Deegan , XenSource UK Limited Registered office c/o EC2Y 5EB, UK; company number 05334508