Date: Mon, 22 Mar 2010 15:52:26 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libc/rpc Symbol.map clnt_simple.c getnetconfig.c key_call.c mt_misc.c mt_misc.h rpc_generic.c rpc_soc.c Message-ID: <201003221552.o2MFqkDo039031@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2010-03-22 15:52:26 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
lib/libc/rpc Symbol.map clnt_simple.c getnetconfig.c
key_call.c mt_misc.c mt_misc.h
rpc_generic.c rpc_soc.c
Log:
SVN rev 205449 on 2010-03-22 15:52:26Z by jhb
MFC 204950,205020:
Use thr_once() with once_t controls to initialize various thread_key_t
objects used to provide per-thread storage in the RPC code. Almost all
of these used double-checking with a dedicated mutex (tsd_lock) to do this
before. However, that is not always safe with more relaxed memory orders.
There were also other bugs, such as one in __rpc_createrr() that caused a
new key to be allocated each time __rpc_createrr() was invoked.
Revision Changes Path
1.4.2.2 +0 -4 src/lib/libc/rpc/Symbol.map
1.20.10.2 +16 -6 src/lib/libc/rpc/clnt_simple.c
1.16.2.3 +15 -14 src/lib/libc/rpc/getnetconfig.c
1.16.10.3 +13 -7 src/lib/libc/rpc/key_call.c
1.7.10.2 +13 -14 src/lib/libc/rpc/mt_misc.c
1.2.10.2 +0 -1 src/lib/libc/rpc/mt_misc.h
1.14.10.2 +15 -13 src/lib/libc/rpc/rpc_generic.c
1.15.10.2 +9 -6 src/lib/libc/rpc/rpc_soc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003221552.o2MFqkDo039031>
