<div dir="ltr">Thanks for this fix, Matt. If I find more elegant solution, I'll write.<br><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-16 20:37 GMT+04:00 Matthew Dillon <span dir="ltr"><<a href="mailto:dillon@apollo.backplane.com" target="_blank">dillon@apollo.backplane.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I'm looking at how to adjust libthread_xu to clean out the red-zone and<br>
thread stack cache(s). Not sure if that will clean everything up though,<br>
there might be (probably are) other allocations that are intended to<br>
be persistent hidden in there.<br>
<br>
In other words, even when we fix the red-zone issue, loading and<br>
unloading shared libraries that weren't designed for it causes all<br>
sorts of memory leaks and just shouldn't be done by any application.<br>
<br>
The only shared libraries that should *ever* be unloaded are ones that<br>
are designed for load/unload cycling (e.g. things like PAM modules and<br>
such, not main-stream libraries).<br>
<br>
-Matt<br>
<br>
</blockquote></div><br></div></div>