[PATCH 21/22] dma-buf/reservation: shouldn't kfree staged when slot available

Chris Wilson chris at chris-wilson.co.uk
Mon Feb 26 10:19:02 UTC 2018


Quoting Christian König (2018-02-26 09:42:15)
> Well first of all you need to send that to dri-devel and even lkml, so 
> that Chris and others can take a look as well.
> 
> Second that patch doesn't looks correct to me, obj->staged should never 
> be related to obj->fence.

Concurred. I would suspect missing rcu protection around a reader to
cause the implied kernel oops. If you are fixing a bug, please do
include as much details about the bug as you can (stacktraces,
observations etc) so that other people who may have hit something
similar can see if this patch might fix their problem, or if they
recognise the problem as caused by something else.
-Chris


More information about the amd-gfx mailing list