[PATCH 0/2] drm/ttm, amdgpu: fix use-after-free in recent deadlock fix

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Feb 14 11:11:18 UTC 2017



On 02/14/2017 10:18 AM, Nicolai Hähnle wrote:
> Hi all,
>
> based on my current theory on how a deadlock could happen in the
> buffer allocation code, these two patches should fix the deadlock
> without having a use-after-free.
>
> I'm still working on a way to clean up the ttm_bo_init sequence
> overall, but I'm separating these two out for a hopefully quick fix,
> since in my book use-after-frees are worse than deadlocks.
>
> Samuel, I'd very much appreciate if you could check that the
> deadlocks in Hitman remain fixed with these two patches.

Looks good. Thanks!

>
> Thanks,
> Nicolai
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
>


More information about the dri-devel mailing list