WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] questions about ballooning

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] questions about ballooning
From: weiming <zephyr.zhao@xxxxxxxxx>
Date: Sat, 3 Nov 2007 21:31:57 -0400
Delivery-date: Sat, 03 Nov 2007 18:32:33 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=htopmlxMDp61CP8YKakyWSekL885SNXREqveyqwFZ5E=; b=boR76JTRJypSjE8snpsl4n5Uar0lECc1CkJP+ntCi/QzezWYS1t7ejOfNzBw9uQlD+2mHJVmQ8W9P1+K3kjj78/nhv48LkEHPrAuVg9CkwLLxFQmGE3sFh1qGSMElAoBTAkZgpeyBooG0TkrS9osFd3EmSGd+udfRkmHqNhJtB4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=HjQJ111twNoFJX+aRDg316dPU1DbA2KjBRvWH2q8uNV9rI4D2ZyvxHTZ65pjGcNaQU7wSlbVRjSKwOPigSXk2w2GnjmL/jlhRgRi40MU9QxZRx8ewneqpC5Ghc4A7b+BMH2yLUCyCOaB7ticCG6KA/iqUq2KgaDovty3a8rNlvo=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
I'm interested in the ballooning, so I read the balloon.c
I have a questions:

How is the ballooned pages be used? After decrease_reservation(), balloon driver tells the vmm the pages that it gets. Then, how xen utilizes this reclaimed pages? When other domains (both dom0 and domU) requests increasing reservation, will xen allocate these pages to them?
If yes, from increasing_reservation(), it seems that balloon just releases the pages that it previously occupied.
If no, where do these "ballooned" pages go?

Thanks a lot in advance!
weiming

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel