mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-21 02:10:05 +00:00
8491ed6d70
This patch relies on the C version of the rwlocks posted earlier. With C rwlocks it is very straight forward to do adaptive elision using TSX. It is based on the infrastructure added earlier for mutexes, but uses its own elision macros. The macros are fairly general purpose and could be used for other elision purposes too. This version is much cleaner than the earlier assembler based version, and in particular implements adaptation which makes it safer. I changed the behavior slightly to not require any changes in the test suite and fully conform to all expected behaviors (generally at the cost of not eliding in various situations). In particular this means the timedlock variants are not elided. Nested trylock aborts. |
||
---|---|---|
.. | ||
bits | ||
nptl | ||
sys | ||
____longjmp_chk.c | ||
brk.c | ||
clone.S | ||
fcntl.c | ||
fxstat.c | ||
fxstatat.c | ||
getcontext.S | ||
getdents64.c | ||
getrlimit64.c | ||
internaltypes.h | ||
kernel_sigaction.h | ||
kernel_stat.h | ||
kernel-features.h | ||
lxstat.c | ||
makecontext.c | ||
Makefile | ||
mmap.c | ||
profil-counter.h | ||
setcontext.S | ||
socket.S | ||
swapcontext.c | ||
syscall.S | ||
syscalls.list | ||
sysdep.c | ||
sysdep.h | ||
ucontext_i.sym | ||
umount.c | ||
Versions | ||
xstat.c |