[PATCH] dma-buf: fix debugfs versus rcu and fence dumping v2

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 6 16:58:27 UTC 2018


Quoting jglisse at redhat.com (2018-12-06 15:47:04)
> From: Jérôme Glisse <jglisse at redhat.com>
> 
> The debugfs take reference on fence without dropping them. Also the
> rcu section are not well balance. Fix all that ...

Wouldn't the code be a lot simpler (and a consistent snapshot) if it used
reservation_object_get_fences_rcu()?
-Chris


More information about the dri-devel mailing list