Re: [PATCH] drm/panfrost: Fix a deadlock between the shrinker and madvise path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2 Nov 2020 08:42:49 +0000
Steven Price <steven.price@xxxxxxx> wrote:

> On 01/11/2020 17:40, Boris Brezillon wrote:
> > 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@xxxxxxxxxxxxxxx>
> > Cc: Christian Hewitt <christianshewitt@xxxxxxxxx>
> > Reported-by: Christian Hewitt <christianshewitt@xxxxxxxxx>
> > Signed-off-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>  
> 
> Reviewed-by: Steven Price <steven.price@xxxxxxx>

Queued to drm-misc-fixes.

Thanks,

Boris



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux