search for: mmap_hypercall

Displaying 1 result from an estimated 1 matches for "mmap_hypercall".

2010 Dec 08
2
[PATCH] xen: gntdev: move use of GNTMAP_contains_pte next to the map_op
...if (!(vma->vm_flags & VM_WRITE)) map->flags |= GNTMAP_readonly; diff --git a/drivers/xen/hypercall.c b/drivers/xen/hypercall.c index 4eb6b34..054826b 100644 --- a/drivers/xen/hypercall.c +++ b/drivers/xen/hypercall.c @@ -11,6 +11,7 @@ #include <asm/xen/hypercall.h> struct mmap_hypercall { + spinlock_t lock; struct list_head list; }; @@ -67,14 +68,16 @@ static void hypercall_vm_open(struct vm_area_struct * vma) static void hypercall_vm_close(struct vm_area_struct * vma) { struct mmap_hypercall *priv = vma->vm_private_data; - struct page *page; + struct page *page, *tpag...