diff options
author | Boris Brezillon <boris.brezillon@collabora.com> | 2020-11-01 18:40:16 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@collabora.com> | 2020-11-03 09:21:52 +0100 |
commit | 7d2d6d01293e6d9b42a6cb410be4158571f7fe9d (patch) | |
tree | 6e84f668bfa351c9d31383e327e14202d8efaf03 /drivers/devfreq | |
parent | dcda7c28bff2662a44c0adaf87c08031bebeb7d8 (diff) |
drm/panfrost: Fix a deadlock between the shrinker and madvise path
panfrost_ioctl_madvise() and panfrost_gem_purge() acquire the mappings
and shmem locks in different orders, thus leading to a potential
the mappings lock first.
Fixes: bdefca2d8dc0 ("drm/panfrost: Add the panfrost_gem_mapping concept")
Cc: <stable@vger.kernel.org>
Cc: Christian Hewitt <christianshewitt@gmail.com>
Reported-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201101174016.839110-1-boris.brezillon@collabora.com
Diffstat (limited to 'drivers/devfreq')
0 files changed, 0 insertions, 0 deletions