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] Re: pv_ops & gntdev?

To: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Subject: [Xen-devel] Re: pv_ops & gntdev?
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Wed, 25 Feb 2009 14:30:32 -0800
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Feb 2009 14:32:11 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49A5C335.3010306@xxxxxxxxxx>
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>
References: <49A44030.2070709@xxxxxxxxxx> <49A4640E.1000807@xxxxxxxx> <49A470DD.2000008@xxxxxxxxxx> <49A517F6.30005@xxxxxxxxxx> <49A58506.2020407@xxxxxxxx> <49A59453.1090502@xxxxxxxxxx> <49A5A5A2.10001@xxxxxxxx> <49A5C335.3010306@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Gerd Hoffmann wrote:
Jeremy Fitzhardinge wrote:
Gerd Hoffmann wrote:
Also: 2.6.18 gntdev does some funky interaction with the balloon driver.
 What is the point in doing so?
Oh, the alloc_empty_pages_and_pagevec() stuff?  It allocates some pages,
just for their pfn slots, and then returns the underlying memory back to
Xen.  It uses the pfns to slot granted pages into.

Yep, gives pfn slot for the grant map.  And a struct page too.

/me wonderes whenever that is required or whenever I could just map the
grants without asking the balloon driver for some slots ...

I think they could be special ptes now, and not need any struct page.

   J

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

<Prev in Thread] Current Thread [Next in Thread>