freebsd-dev/lib/libc
Konstantin Belousov 35dfc644f5 Copy the fencing of the algorithm to do lock-less update and reading
of the timehands, from the kern_tc.c implementation to vdso.  Add
comments giving hints where to look for the algorithm explanation.

To compensate the removal of rmb() in userspace binuptime(), add
explicit lfence instruction before rdtsc.  On i386, add usual
complications to detect SSE2 presence; assume that old CPUs which do
not implement SSE2 also execute rdtsc almost in order.

Reviewed by:	alc, bde (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2015-08-04 12:33:51 +00:00
..
aarch64 Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
amd64 Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
arm Export the ARM __aeabi_mem* functions from libc, they are needed by the gcc 2015-06-16 16:40:25 +00:00
capability
compat-43 Reduce the size of the interposing table and amount of 2015-01-11 22:16:31 +00:00
db Drop some unnecessary casts. 2015-05-18 16:28:13 +00:00
gdtoa
gen Add missing priority argument in example code in BUGS section. 2015-07-21 09:44:45 +00:00
gmon
i386 Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
iconv Fix improbable memory leak in _citrus_prop_read_str(). 2015-04-20 22:09:50 +00:00
include Reassign copyright statements on several files from Advanced 2015-04-23 14:22:20 +00:00
inet
isc
locale __xlocale_C_ctype should not be const. It contains a reference count that is modified by newlocale / duplocale / freelocale. 2015-04-24 10:21:20 +00:00
md
mips Removed unused special fork() implementations. 2015-05-29 19:42:55 +00:00
nameser
net Fix name of a constant. 2015-06-14 20:16:36 +00:00
nls Use mdoc(7) macros to handle parenthesis 2015-04-26 10:54:52 +00:00
posix1e Update Capsicum and Mandatory Access Control manual pages 2015-07-25 15:56:49 +00:00
powerpc The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
powerpc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
quad
regex mdoc: rendering fixes 2015-04-26 10:55:39 +00:00
resolv Add support for '_' occurring at the beginning or end of a name 2015-06-10 16:15:22 +00:00
rpc mdoc: fix functions declarations 2015-04-26 10:53:50 +00:00
softfloat
sparc64 The lseek(2), mmap(2), truncate(2), ftruncate(2), pread(2), and 2015-04-18 21:50:13 +00:00
stdio Fix a couple of markup typos. 2015-08-02 02:00:20 +00:00
stdlib Document the fact that system(3) can easily be misused due to shell meta 2015-07-25 00:21:29 +00:00
stdtime
string strchr(3): Mdoc fixes. 2015-06-04 21:54:46 +00:00
sys Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
tests Add support for makecontext. This supports up to 8 arguments as this 2015-07-10 08:36:22 +00:00
uuid
xdr Use proper prototype for harmless(). 2015-05-31 19:09:24 +00:00
yp
libc.ldscript
Makefile Revert r284417 it is not necessary anymore 2015-06-15 19:28:07 +00:00
Makefile.depend new depends 2015-06-16 23:37:19 +00:00
Versions.def