[Mesa-stable] [Mesa-dev] [PATCH 2/2] nouveau: use atomic operations for driver statistics

Karol Herbst kherbst at redhat.com
Mon Dec 10 13:59:43 UTC 2018


On Mon, Dec 10, 2018 at 12:32 PM Emil Velikov <emil.l.velikov at gmail.com> wrote:
>
> Hi Karol,
>
> On Sat, 8 Dec 2018 at 17:10, Karol Herbst <kherbst at redhat.com> wrote:
> >
> > multiple threads can write to those at the same time
> >
> > Signed-off-by: Karol Herbst <kherbst at redhat.com>
> Should we pick and the other two fixes for stable?
>
> a28ff222951 nv50/ir: initialize relDegree staticly
> d63a1330822 nouveau: use atomic operations for driver statistics
> 77944fb2b7c nv50/ir: fix use-after-free in ConstantFolding::visit
>
> Thanks
> Emil

I am not aware of anybody actually running into those issues. The
first two patches only matter for multi context applications where
Nouveau will crash sooner or later anyway. The fix for the multi
context issue will be quite big, so I don't know if we actually want
to apply those to the stable branches.

The "use-after-free" one might be a good idea. If it applies cleanly
it should be good enough. Might fix some pretty rare issues/crashes.


More information about the mesa-stable mailing list