From mboxrd@z Thu Jan 1 00:00:00 1970 From: Olaf Hering Subject: Re: [PATCH 4 of 4] xenpaging: initial libxl support Date: Mon, 21 Nov 2011 16:13:59 +0100 Message-ID: <20111121151359.GA22981@aepfle.de> References: <20111107125535.GA16522@aepfle.de> <20111120182951.GA4830@aepfle.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stefano Stabellini Cc: George Dunlap , "xen-devel@lists.xensource.com" , Ian Campbell List-Id: xen-devel@lists.xenproject.org On Mon, Nov 21, Stefano Stabellini wrote: > what if tot_memkb is bigger than target_memkb? Or even bigger than > max_memkb? tot_memkb is unrelated to target_memkb, also somewhat unrelated to max_memkb. xenpaging will look at tot_memkb value (at "memory/target-tot_pages" to be precise) and try to reach that number of domain->tot_pages. If the tot_memkb number is larger than max_memkb nothing will happen. Right now there is not much checking anyway, memory=1024 maxmem=1 in the config is accepted in my testing. Olaf