]> git.baikalelectronics.ru Git - kernel.git/commit
xen/gntdev: provide find_special_page VMA operation
authorDavid Vrabel <david.vrabel@citrix.com>
Thu, 18 Dec 2014 14:59:07 +0000 (14:59 +0000)
committerDavid Vrabel <david.vrabel@citrix.com>
Wed, 28 Jan 2015 14:04:58 +0000 (14:04 +0000)
commita49304e2c4b88ec02a93ad0525e694ee1d409494
tree8e8797f8605ad66e0e4444b94197ddd1b8300189
parent7363da27466ec41db8a03aec945de678dd839e9b
xen/gntdev: provide find_special_page VMA operation

For a PV guest, use the find_special_page op to find the right page.
To handle VMAs being split, remember the start of the original VMA so
the correct index in the pages array can be calculated.

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
drivers/xen/gntdev.c