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: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: [Xen-devel] Re: pv_ops & gntdev?
From: Gerd Hoffmann <kraxel@xxxxxxxxxx>
Date: Wed, 25 Feb 2009 22:43:26 +0100
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 25 Feb 2009 13:43:53 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <49A5B9AA.7010709@xxxxxxxx>
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> <49A58FFF.3050604@xxxxxxxxxx> <49A5A4BD.7080207@xxxxxxxx> <49A5B5DD.60309@xxxxxxxxxx> <49A5B9AA.7010709@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.19 (X11/20090105)
Jeremy Fitzhardinge wrote:
> Gerd Hoffmann wrote:
>> Jeremy Fitzhardinge wrote:
>>  
>>> Hm, I hope not.  Doesn't it always end up using set_pte*?
>>>     
>>
>> ptep_get_and_clear_full();
>>
>> See zap_pte_range() in mm/memory.c
> 
> Ah, right.  It could be changed to use ptep_modify_prot_start/commit. 
> That would make it batchable too.  Slightly less good for native.

Hmm.  One more Q:  How is pinning used?  Is a process pinned all the
time?  Or can it happen that the pages are unpinned in case it does hang
around idle for a while?  Is there some way to prevent a process from
being unpinned?

I somehow feel like checking out mmu notifiers first ...

thanks,
  Gerd

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

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