aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorThierry Reding <[email protected]>2017-01-30 21:03:07 +0100
committerBen Skeggs <[email protected]>2017-04-06 14:39:03 +1000
commite5ffa727e5330478d9f074521dbf195c8593ed9f (patch)
tree859f4ebba33ce624533bcaa1b2b59aefe14b602b /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2ebd42bc28525da52162425ecd7472846b78584d (diff)
drm/nouveau/imem/gk20a: Turn instmem lock into mutex
The gk20a implementation of instance memory uses vmap()/vunmap() to map memory regions into the kernel's virtual address space. These functions may sleep, so protecting them by a spin lock is not safe. This triggers a warning if the DEBUG_ATOMIC_SLEEP Kconfig option is enabled. Fix this by using a mutex instead. Signed-off-by: Thierry Reding <[email protected]> Reviewed-by: Alexandre Courbot <[email protected]> Tested-by: Alexandre Courbot <[email protected]> Signed-off-by: Ben Skeggs <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions