Re: [PATCH 1/2] xen/gntdev: Fix off-by-one error when unmapping with holes

From: Boris Ostrovsky
Date: Tue Jan 09 2018 - 21:59:08 EST




On 01/09/2018 07:10 AM, Ross Lagerwall wrote:
If the requested range has a hole, the calculation of the number of
pages to unmap is off by one. Fix it.

Signed-off-by: Ross Lagerwall <ross.lagerwall@xxxxxxxxxx>

Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>