diff options
author | 2012-01-18 18:33:02 -0600 | |
---|---|---|
committer | 2012-02-08 14:14:12 -0800 | |
commit | c5b1247bd1c3ab6722acfa95213be9a16bfb664c (patch) | |
tree | 3ef9b02ee38d547cf00a7400186deee87e117214 /tools/perf/scripts/python | |
parent | drivers/staging/omapdrm/omap_fbdev.c: move free after uses (diff) | |
download | linux-dev-c5b1247bd1c3ab6722acfa95213be9a16bfb664c.tar.xz linux-dev-c5b1247bd1c3ab6722acfa95213be9a16bfb664c.zip |
staging: drm/omap: fix locking issue
The create/free mmap offset code must be synchronized. Yet only some
callers of omap_gem_mmap_offset() held struct_mutex. Leading to various
crashes around drm_mm_insert_helper_range(). (In the free-object path,
which is currently the only place we drm_gem_free_mmap_offset(),
struct_mutex is already held.)
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions