diff options
author | 2022-11-10 23:13:49 +0300 | |
---|---|---|
committer | 2022-11-11 23:49:54 +0300 | |
commit | 265751a513adfec50bcb7354fc287a9bd3a62129 (patch) | |
tree | 0cf28227367d21816980f5d9a956870900f14639 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | media: videobuf2: Assert held reservation lock for dma-buf mmapping (diff) | |
download | wireguard-linux-265751a513adfec50bcb7354fc287a9bd3a62129.tar.xz wireguard-linux-265751a513adfec50bcb7354fc287a9bd3a62129.zip |
fastrpc: Assert held reservation lock for dma-buf mmapping
When userspace mmaps dma-buf's fd, the dma-buf reservation lock must be
held. Add locking sanity check to the dma-buf mmaping callback to ensure
that the locking assumption won't regress in the future.
Suggested-by: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Acked-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221110201349.351294-7-dmitry.osipenko@collabora.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions