[PATCH v2 0/2] xen/gntdev: sanitize user interface handling
From: Juergen Gross
Date: Thu Nov 07 2019 - 06:15:51 EST
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(-)
--
2.16.4