diff options
author | Dmitry Osipenko <[email protected]> | 2022-11-10 23:13:48 +0300 |
---|---|---|
committer | Dmitry Osipenko <[email protected]> | 2022-11-11 23:49:53 +0300 |
commit | 3a6ca1810f774ceed129683d8f8c9721c03512b0 (patch) | |
tree | ba266809e4f8624be158c7ad75e02d9b133de903 /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 27f3733a104950169797407fea330a2e1d42f16b (diff) |
media: videobuf2: 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 checks to the dma-buf mmaping callbacks to ensure
that the locking assumptions won't regress in the future.
Suggested-by: Daniel Vetter <[email protected]>
Signed-off-by: Dmitry Osipenko <[email protected]>
Acked-by: Tomasz Figa <[email protected]>
Acked-by: Christian König <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions