aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xenbus/xenbus_probe.c
diff options
context:
space:
mode:
authorJuergen Gross <jgross@suse.com>2019-11-07 12:15:46 +0100
committerJuergen Gross <jgross@suse.com>2019-12-02 07:39:23 +0100
commitb3f7931f5c61ba39e81a5c958bf5d65ebb1838af (patch)
tree1a22448012ce22795350d59a86f2fb2e40004623 /drivers/xen/xenbus/xenbus_probe.c
parentxen/gntdev: replace global limit of mapped pages by limit per call (diff)
downloadlinux-dev-b3f7931f5c61ba39e81a5c958bf5d65ebb1838af.tar.xz
linux-dev-b3f7931f5c61ba39e81a5c958bf5d65ebb1838af.zip
xen/gntdev: switch from kcalloc() to kvcalloc()
With sufficient many pages to map gntdev can reach order 9 allocation sizes. As there is no need to have physically contiguous buffers switch to kvcalloc() in order to avoid failing allocations. Signed-off-by: Juergen Gross <jgross@suse.com> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: Juergen Gross <jgross@suse.com>
Diffstat (limited to 'drivers/xen/xenbus/xenbus_probe.c')
0 files changed, 0 insertions, 0 deletions