aboutsummaryrefslogtreecommitdiff
path: root/mm/memory.c
diff options
context:
space:
mode:
authorJordan Crouse <[email protected]>2017-05-08 14:34:57 -0600
committerRob Clark <[email protected]>2017-05-27 13:48:28 -0400
commit90dd57de4a043f642179b1323a31ca3ced826611 (patch)
treea562183818228685c469183a52dcd8ca8fddda79 /mm/memory.c
parent3cfac69cbd56e1a57a70bfbdb07560b788030404 (diff)
drm/msm: Take the mutex before calling msm_gem_new_impl
Amongst its other duties, msm_gem_new_impl adds the newly created GEM object to the shared inactive list which may also be actively modifiying the list during submission. All the paths to modify the list are protected by the mutex except for the one through msm_gem_import which can end up causing list corruption. Signed-off-by: Jordan Crouse <[email protected]> [add extra WARN_ON(!mutex_is_locked(&dev->struct_mutex))] Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions