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

[Xen-devel] Re: [Xen-staging] [xen-unstable] linux: User-space grant table device.



On Sat, 2007-03-31 at 13:52 +0100, Xen staging patchbot-unstable wrote:
> # HG changeset patch
> # User Keir Fraser <keir@xxxxxxxxxxxxx>
> # Date 1175345604 -3600
> # Node ID 5e65a86c8982b9159223b542cc7b7e3af61a06e4
> # Parent  7180d2e61f926023e24750c53fd4203a71f2a3ae
> linux: User-space grant table device.
> 
> A character device for accessing (in user-space) pages that have been
> granted by other domains.
...
> +     /* This flag ensures that the page tables are not unpinned before the
> +      * VM area is unmapped. Therefore Xen still recognises the PTE as
> +      * belonging to an L1 pagetable, and the grant unmap operation will
> +      * succeed, even if the process does not exit cleanly.
> +      */
> +     vma->vm_mm->context.has_foreign_mappings = 1;

   mm_context_t is arch specific, common code shouldn't be poking at it
like this.

        Alex

-- 
Alex Williamson                             HP Open Source & Linux Org.


_______________________________________________
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®.