[Mesa-dev] [PATCH 0/9] RadeonSI LLVM crash workaround for Ubuntu 18.04

Marek Olšák maraeo at gmail.com
Wed Apr 18 19:41:46 UTC 2018


On Wed, Apr 18, 2018 at 8:00 AM, Juan A. Suarez Romero <jasuarez at igalia.com>
wrote:

> On Mon, 2018-04-16 at 20:52 -0400, Marek Olšák wrote:
> > Hi,
> >
> > This cleanup is motivated by a Mesa/LLVM crash on Ubuntu 18.04.
> > It happens inside gallivm_dispose_target_library_info and only
> > LLVM 5.0 and 6.0 seem to be affected.
>
> Should this series (or part of this) be nominated for stable?
>

Patches for 18.0 will be submitted separately. For now, they are in this
branch:
https://cgit.freedesktop.org/~mareko/mesa/log/?h=amd-18.0
(the top 7 commits)

Marek


>
>
>         J.A.
>
> >
> > The workaround is to move target_library_info into the context
> > (1 instance) and the screen (1 instance per compiler thread) to reduce
> > the number of times it's created and deleted, and then simply leak
> > it because we can't destroy it without a crash.
> >
> > The series might also result in some non-measurable compile time
> > savings, andd the last patch decreases shader-db run times
> > significantly on many-core CPUs. (there is no expected effect on apps)
> >
> > Please review.
> >
> > Thanks,
> > Marek
> > _______________________________________________
> > mesa-dev mailing list
> > mesa-dev at lists.freedesktop.org
> > https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180418/7afd5893/attachment.html>


More information about the mesa-dev mailing list