[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Re: pv_ops & gntdev?



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.