[PATCH] libdl: rudimentary locking for dlopen/dlsym/dlclose

Salvatore CRO' salvatore.cro at st.com
Tue Apr 12 10:15:06 UTC 2011


On 3/24/2011 4:01 PM, Timo Teräs wrote:
> On 03/24/2011 04:58 PM, Mike Frysinger wrote:
>> 2011/3/24 Timo Teräs:
>>> This implements big-dlfcn lock to allow multithreaded usage of
>>> dlopen/dlsym/dlclose. We should really clean up the dl code so
>>> we can use more fine grained locking or even RCU where appropriate.
>>> But at least we won't crash now.
>>
>> looks straight forward enough ... i'm assuming it actually fixes the
>> crashes you were seeing ?
>
> Yes. No crashes on my box anymore. Valgrind is happy too.
I tried it for sh4, apologize for being so late :-(
No substantial impact on our failures at least for tls tests.
We got random failures on dlopen tests so far,
we'll keep monitoring them over the next validation campaigns
and report any impact back to community.

Salvo.
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://lists.busybox.net/mailman/listinfo/uclibc
>



More information about the uClibc mailing list