<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Apr 18, 2018 at 8:00 AM, Juan A. Suarez Romero <span dir="ltr"><<a href="mailto:jasuarez@igalia.com" target="_blank">jasuarez@igalia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">On Mon, 2018-04-16 at 20:52 -0400, Marek Olšák wrote:<br>
> Hi,<br>
> <br>
> This cleanup is motivated by a Mesa/LLVM crash on Ubuntu 18.04.<br>
> It happens inside gallivm_dispose_target_<wbr>library_info and only<br>
> LLVM 5.0 and 6.0 seem to be affected.<br>
<br>
</span>Should this series (or part of this) be nominated for stable?<br></blockquote><div><br></div><div>Patches for 18.0 will be submitted separately. For now, they are in this branch:<br><a href="https://cgit.freedesktop.org/~mareko/mesa/log/?h=amd-18.0">https://cgit.freedesktop.org/~mareko/mesa/log/?h=amd-18.0</a><br></div><div>(the top 7 commits)<br></div><div><br></div><div>Marek<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<span class="gmail-HOEnZb"><font color="#888888"><br>
<br>
J.A.<br>
</font></span><span class="gmail-im gmail-HOEnZb"><br>
> <br>
> The workaround is to move target_library_info into the context<br>
> (1 instance) and the screen (1 instance per compiler thread) to reduce<br>
> the number of times it's created and deleted, and then simply leak<br>
> it because we can't destroy it without a crash.<br>
> <br>
> The series might also result in some non-measurable compile time<br>
> savings, andd the last patch decreases shader-db run times<br>
> significantly on many-core CPUs. (there is no expected effect on apps)<br>
> <br>
> Please review.<br>
> <br>
> Thanks,<br>
> Marek<br>
</span><div class="gmail-HOEnZb"><div class="gmail-h5">> ______________________________<wbr>_________________<br>
> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</div></div></blockquote></div><br></div></div>