[Mesa-stable] [Mesa-dev] [PATCH 2/2] Make shader refcounting atomic.

Timothy Arceri timothy.arceri at collabora.com
Sun Nov 6 21:42:18 UTC 2016


On Sun, 2016-11-06 at 12:17 +0100, Steinar H. Gunderson wrote:
> On Sun, Nov 06, 2016 at 09:40:03AM +1100, Timothy Arceri wrote:
> > 
> > https://lists.freedesktop.org/archives/mesa-dev/2016-October/132629
> > .html
> 
> Interesting. So other code seemingly has done refcounting with non-
> atomics
> but with locking; those locks were just missing here.

I was trying to point you to the fact that locking is known to be
broken in some places in case you happen to hit further problems :)

> 
> (I've skipped the finer points of RCU etc.)
> 
> /* Steinar */


More information about the mesa-stable mailing list