diff options
| author | 2020-11-05 10:47:44 +0900 | |
|---|---|---|
| committer | 2020-11-05 12:33:26 +0100 | |
| commit | ea86f3defd55f141a44146e66cbf8ffb683d60da (patch) | |
| tree | a1cb12249233efb6d17c3338a05a4315454a38de /tools/perf/scripts | |
| parent | drm: document that blobs are ref'counted (diff) | |
drm/virtio: use kvmalloc for large allocations
We observed that some of virtio_gpu_object_shmem_init() allocations
can be rather costly - order 6 - which can be difficult to fulfill
under memory pressure conditions. Switch to kvmalloc_array() in
virtio_gpu_object_shmem_init() and let the kernel vmalloc the entries
array.
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20201105014744.1662226-1-senozhatsky@chromium.org
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
