From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Williamson Subject: Re: [Xen-staging] [xen-unstable] linux: User-space grant table device. Date: Sat, 31 Mar 2007 09:33:56 -0600 Message-ID: <1175355236.13963.47.camel@bling> References: <200703311252.l2VCqLaT019711@latara.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200703311252.l2VCqLaT019711@latara.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sat, 2007-03-31 at 13:52 +0100, Xen staging patchbot-unstable wrote: > # HG changeset patch > # User Keir Fraser > # 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.