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] [PATCH v2] Use ballooned pages for gntdev

To: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx>
Subject: [Xen-devel] [PATCH v2] Use ballooned pages for gntdev
From: Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
Date: Wed, 9 Mar 2011 18:07:31 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Ian.Campbell@xxxxxxxxxx
Delivery-date: Wed, 09 Mar 2011 15:09:29 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Split up the balloon module, similar to how grants and events are
handled. This allow gntdev to use ballooned pages without adding a
dependency on the balloon module.

The interface is slightly different from that exposed in 2.6.32; the
page vector is allocated by the caller, not by the balloon driver. This
allows more freedom in how the returned pages are used, since they do
not all have to be returned to the balloon driver at the same time. It
also tries to reuse already ballooned pages rather than always
ballooning new pages to ensure they are in low memory as the 2.6.32
version did.

Changes since v1:
        * Rebased on konrad/devel/{balloon-hotplug,next-2.6.38} merge
        * Better function names
        * Adjust balloon stats for requested pages

[PATCH 1/3] xen-balloon: Move core balloon functionality out of module
[PATCH 2/3] xen-balloon: Add interface to retrieve ballooned pages
[PATCH 3/3] xen-gntdev: Use ballooned pages for grant mappings

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