diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2020-12-15 15:42:53 +0100 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2020-12-18 22:14:29 +0100 |
commit | 165be1f80b8807687f7426d3f36f1031d633e979 (patch) | |
tree | 495cd06b8f8dd78fa531e3d5d6ea2f49703d3ff3 /net | |
parent | vdpa_sim: set vringh notify callback (diff) | |
download | linux-165be1f80b8807687f7426d3f36f1031d633e979.tar.xz linux-165be1f80b8807687f7426d3f36f1031d633e979.zip |
vdpa_sim: use kvmalloc to allocate vdpasim->buffer
The next patch will make the buffer size configurable from each
device.
Since the buffer could be larger than a page, we use kvmalloc()
instead of kmalloc().
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20201215144256.155342-16-sgarzare@redhat.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions