1
0
Fork 0
alistair23-linux/drivers/xen/xenbus
David Vrabel cd12909cb5 xen: map foreign pages for shared rings by updating the PTEs directly
When mapping a foreign page with xenbus_map_ring_valloc() with the
GNTTABOP_map_grant_ref hypercall, set the GNTMAP_contains_pte flag and
pass a pointer to the PTE (in init_mm).

After the page is mapped, the usual fault mechanism can be used to
update additional MMs.  This allows the vmalloc_sync_all() to be
removed from alloc_vm_area().

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Acked-by: Andrew Morton <akpm@linux-foundation.org>
[v1: Squashed fix by Michal for no-mmu case]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-11-16 12:13:08 -05:00
..
Makefile xen: add backend driver support 2011-01-05 16:29:58 -05:00
xenbus_client.c xen: map foreign pages for shared rings by updating the PTEs directly 2011-11-16 12:13:08 -05:00
xenbus_comms.c xen/pv-on-hvm kexec+kdump: reset PV devices in kexec or crash kernel 2011-09-01 11:49:03 -04:00
xenbus_comms.h xen: add the Xenbus sysfs and virtual device hotplug driver 2007-07-18 08:47:45 -07:00
xenbus_probe.c Merge branch 'stable/cleanups-3.2' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen 2011-11-06 20:13:34 -08:00
xenbus_probe.h Xen: fix braces coding style issue in xenbus_probe.h 2011-07-26 13:31:59 -04:00
xenbus_probe_backend.c xen: Add export.h for THIS_MODULE/EXPORT_SYMBOL to various xen users. 2011-10-31 19:32:11 -04:00
xenbus_probe_frontend.c xen: Add module.h to modular drivers/xen users. 2011-10-31 19:32:11 -04:00
xenbus_xs.c xen/pv-on-hvm:kexec: Fix implicit declaration of function 'xen_hvm_domain' 2011-09-26 13:17:55 -04:00