summaryrefslogtreecommitdiffstats
path: root/sound/arm
diff options
context:
space:
mode:
authorSergey Senozhatsky <senozhatsky@chromium.org>2020-11-05 10:47:44 +0900
committerGerd Hoffmann <kraxel@redhat.com>2020-11-05 12:33:26 +0100
commitea86f3defd55f141a44146e66cbf8ffb683d60da (patch)
treea1cb12249233efb6d17c3338a05a4315454a38de /sound/arm
parentf3f0e410c6a848c8f5b2715167eaa31c407cfb70 (diff)
downloadlinux-ea86f3defd55f141a44146e66cbf8ffb683d60da.tar.bz2
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 'sound/arm')
0 files changed, 0 insertions, 0 deletions