diff options
author | Juergen Gross <jgross@suse.com> | 2019-11-07 12:15:46 +0100 |
---|---|---|
committer | Juergen Gross <jgross@suse.com> | 2019-12-02 07:39:23 +0100 |
commit | b3f7931f5c61ba39e81a5c958bf5d65ebb1838af (patch) | |
tree | 1a22448012ce22795350d59a86f2fb2e40004623 /drivers/xen/xenbus/xenbus_probe.c | |
parent | xen/gntdev: replace global limit of mapped pages by limit per call (diff) | |
download | linux-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