commit | b3f7931f5c61ba39e81a5c958bf5d65ebb1838af | [log] [tgz] |
---|---|---|
author | Juergen Gross <jgross@suse.com> | Thu Nov 07 12:15:46 2019 +0100 |
committer | Juergen Gross <jgross@suse.com> | Mon Dec 02 07:39:23 2019 +0100 |
tree | 1a22448012ce22795350d59a86f2fb2e40004623 | |
parent | 3b06ac6707c196b5036fe013c460da86c9060085 [diff] |
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>