]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
xen-gntdev: Use find_vma rather than iterating our vma list manually
authorDaniel De Graaf <dgdegra@tycho.nsa.gov>
Thu, 3 Feb 2011 17:19:00 +0000 (12:19 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 14 Feb 2011 19:08:50 +0000 (14:08 -0500)
commita879211bf1d70339e429603805c014450c275f2a
tree6382aaee07a5e1aa3bbb7c9e35273f789a39cbd1
parentef91082e90491ac99343a13f9aeff4669835c6cc
xen-gntdev: Use find_vma rather than iterating our vma list manually

This should be faster if many mappings exist, and also removes
the only user of map->vma not related to PTE modification.

Signed-off-by: Daniel De Graaf <dgdegra@tycho.nsa.gov>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/xen/gntdev.c