Displaying 1 result from an estimated 1 matches for "hypercall_mmap".
Did you mean:
hypercall_map
2010 Dec 08
2
[PATCH] xen: gntdev: move use of GNTMAP_contains_pte next to the map_op
...or_each_entry_safe(page, tpage, &priv->list, lru) {
printk(KERN_CRIT "hypercall vm_close: page %p count %d\n", page, page_count(page));
__free_page(page);
}
+ spin_unlock(&priv->lock);
vma->vm_private_data = NULL;
kfree(priv);
}
@@ -99,8 +102,10 @@ static int hypercall_mmap(struct file *file, struct vm_area_struct *vma)
printk(KERN_CRIT "hypercall interface mmaped by %s: vma %p %#lx-%#lx (%#lx) priv %p\n",
current->comm, vma, vma->vm_start, vma->vm_end, vma->vm_end - vma->vm_start, priv);
+ spin_lock_init(&priv->lock);
IN...