aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorBoris Brezillon <[email protected]>2019-11-29 14:59:04 +0100
committerRob Herring <[email protected]>2019-12-06 11:06:16 -0600
commitaed44cbeae2b7674cd155ba5cc6506aafe46a94e (patch)
treeca806245e28d14a4f018ef7fd675d4216bfffddf /lib/mpi/mpiutil.c
parent3bb69dbcb9e8430e0cc9990cff427ca3ae25ffdc (diff)
drm/panfrost: Fix a race in panfrost_gem_free_object()
panfrost_gem_shrinker_scan() might purge a BO (release the sgt and kill the GPU mapping) that's being freed by panfrost_gem_free_object() if we don't remove the BO from the shrinker list at the beginning of panfrost_gem_free_object(). Fixes: 013b65101315 ("drm/panfrost: Add madvise and shrinker support") Cc: <[email protected]> Signed-off-by: Boris Brezillon <[email protected]> Reviewed-by: Steven Price <[email protected]> Acked-by: Alyssa Rosenzweig <[email protected]> Signed-off-by: Rob Herring <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions