From: David Vrabel Subject: [RFC] xen: map foreign pages for shared rings by updating the PTEs directly Date: Fri, 23 Sep 2011 18:55:19 +0100 Message-ID: <1316800523-30144-1-git-send-email-david.vrabel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: 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 Cc: Jeremy Fitzhardinge , Konrad Rzeszutek Wilk List-Id: xen-devel@lists.xenproject.org This series of patches allows the vmalloc_sync_all() to be removed from alloc_vm_area() by getting the hypervisor to update the PTEs (in init_mm) directly rather than having the hypervisor look in the current page tables to find the PTEs. Once the hypervisor has updated the PTEs, the normal mechanism of syncing the page tables after a fault works as expected. This mechanism doesn't currently work on the ia64 port as that does not support the GNTMAP_contains_pte flag. David