aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stat-cpi.py
diff options
context:
space:
mode:
authorSergey Senozhatsky <[email protected]>2020-11-05 10:47:44 +0900
committerGerd Hoffmann <[email protected]>2020-11-05 12:33:26 +0100
commitea86f3defd55f141a44146e66cbf8ffb683d60da (patch)
treea1cb12249233efb6d17c3338a05a4315454a38de /tools/perf/scripts/python/stat-cpi.py
parentf3f0e410c6a848c8f5b2715167eaa31c407cfb70 (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 <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Signed-off-by: Gerd Hoffmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions