From: "Jan Beulich" Subject: linux balloon question Date: Fri, 19 Dec 2008 14:21:08 +0000 Message-ID: <494BBBE4.76E4.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org What is the point of having separate bs.current_pages and totalram_pages? The latter (in current code) always tracks the former. Further, what's the point of re-initializing totalram_pages during balloon_init() in pv = guests? If the bogus incrementing of the value in mem_init() gets removed, things would match native without that re-initialization, and the current_pages member could entirely go away. Thanks, Jan