Re: [PATCH 1/2] drm/i915/gem: Taint all shrinkable object locks

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

 



On Fri, 29 May 2020 at 19:32, Chris Wilson <chris@xxxxxxxxxxxxxxxxxx> wrote:
>
> If we declare that an object type is shrinkable (any that we can reclaim
> to recover system pages), make sure we taint the object mutex so that
> lockdep expects us to use it within fs_reclaim. lockdep will then
> complain the first time we try to allocate while holding the plain
> mutex, as doing so invites potential recursion.
>
> Signed-off-by: Chris Wilson <chris@xxxxxxxxxxxxxxxxxx>
Reviewed-by: Matthew Auld <matthew.auld@xxxxxxxxx>
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx



[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux