Re: [PATCH v2 0/2] xen/gntdev: sanitize user interface handling

From: Boris Ostrovsky
Date: Thu Nov 28 2019 - 16:44:36 EST


On 11/28/19 3:48 AM, JÃrgen Groà wrote:
> On 07.11.19 12:15, Juergen Gross wrote:
>> The Xen gntdev driver's checking of the number of allowed mapped pages
>> is in need of some sanitizing work.
>>
>> Changes in V2:
>> - enhanced commit message of patch 1 (Andrew Cooper)
>>
>> Juergen Gross (2):
>> ÂÂ xen/gntdev: replace global limit of mapped pages by limit per call
>> ÂÂ xen/gntdev: switch from kcalloc() to kvcalloc()
>>
>> Â drivers/xen/gntdev-common.h |Â 2 +-
>> Â drivers/xen/gntdev-dmabuf.c | 11 +++------
>> Â drivers/xen/gntdev.cÂÂÂÂÂÂÂ | 55
>> +++++++++++++++++++--------------------------
>> Â 3 files changed, 27 insertions(+), 41 deletions(-)
>>
>
> Boris, could you please comment on the patches?

Sure, both look good (and so R-b). I haven't commented since Oleksandr
already gave you his.


-boris