freebsd-skq/lib/libc/i386/sys
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
..
__vdso_gettc.c Copy the fencing of the algorithm to do lock-less update and reading 2015-08-04 12:33:51 +00:00
brk.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
cerror.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
exect.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
getcontext.S Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it and 2013-11-21 22:31:18 +00:00
i386_clr_watch.c
i386_get_fsbase.c
i386_get_gsbase.c
i386_get_ioperm.2
i386_get_ioperm.c
i386_get_ldt.2
i386_get_ldt.c
i386_set_fsbase.c
i386_set_gsbase.c
i386_set_ioperm.c
i386_set_ldt.c
i386_set_watch.3
i386_set_watch.c
i386_vm86.2
i386_vm86.c
Makefile.inc Remove reboot.S (part of libc). It's not needed and was actually 2015-07-07 09:25:51 +00:00
Ovfork.S Replace the WEAK_ALIAS() alias with the WEAK_REFERENCE() alias. Use it and 2013-11-21 22:31:18 +00:00
pipe.S
ptrace.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
sbrk.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00
setlogin.S libc: Access _logname_valid more efficiently. 2013-08-17 19:24:58 +00:00
sigreturn.S
syscall.S libc/i386: Do not export .cerror. 2012-09-05 21:41:05 +00:00