freebsd-dev/libexec
Konstantin Belousov 6bfe9e8ccf Optimize tls_get_addr_common(). The change provides around 30% speedup
for TLS microbenchmark using global-dynamic TLS model on amd64 (which is
default for PIC dso objects).

Split the slow path into tls_get_addr_slow(), for which inlining is
disabled. This prevents the registers spill on tls_get_addr_common()
entry.

Provide static branch hint to the compiler, indicating that slow path
is not likely to be taken.

While there, do some minimal style adjustments.

Reported and tested by:	davidxu
MFC after:	1 week
2012-03-10 08:49:44 +00:00
..
atrun
bootpd Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
comsat Make comsat(8) approximately 15% smaller. 2011-12-10 18:35:26 +00:00
fingerd
ftpd Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
getty Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
lukemftpd Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
mail.local Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
mknetid Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
pppoed In libexec/pppoed/pppoed.c, use the correct printf length modifier for a 2011-12-16 16:07:39 +00:00
rbootd Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
revnetgroup Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
rlogind Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
rtld-aout Spelling fixes for libexec/ 2012-01-07 16:09:54 +00:00
rtld-elf Optimize tls_get_addr_common(). The change provides around 30% speedup 2012-03-10 08:49:44 +00:00
save-entropy
smrsh Define several extra macros in bsd.sys.mk and sys/conf/kern.pre.mk, to 2012-02-28 18:30:18 +00:00
talkd
tcpd
telnetd
tftp-proxy
tftpd Avoid error log for transfer stop w/o error code. 2012-02-21 14:59:07 +00:00
ulog-helper Minor cleanups to ulog-helper: 2011-06-21 17:59:51 +00:00
ypxfr Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
Makefile
Makefile.inc