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

Juan A. Suarez Romero jasuarez at igalia.com
Thu Apr 19 07:51:43 UTC 2018


On Wed, 2018-04-18 at 15:41 -0400, Marek Olšák wrote:
> 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)
> 


Nice. Thanks


	J.A.

> 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
> 
> 


More information about the mesa-dev mailing list