diff options
author | Thomas Zimmermann <[email protected]> | 2019-09-06 14:20:54 +0200 |
---|---|---|
committer | Thomas Zimmermann <[email protected]> | 2019-09-09 12:52:17 +0200 |
commit | bc25bb9192c0438d84bf69ab72de02d3a4c3f827 (patch) | |
tree | 9ee4294fefb8878f1f66e5cfbcc40b1b639a6165 /tools/perf/scripts/python/syscall-counts.py | |
parent | 37a48adfba6cf6e87df9ba8b75ab85d514ed86d8 (diff) |
drm/vram: Acquire lock only once per call to vmap()/vunmap()
The implementation of vmap() is a combined pin() and kmap(). As both
functions share the same lock, we can make vmap() slightly faster by
acquiring the lock only once for both operations. Same for the inverse,
vunmap().
Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Gerd Hoffmann <[email protected]>
Acked-by: Daniel Vetter <[email protected]>
Reported-and-tested-by: Davidlohr Bueso <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions