mirror of git://sourceware.org/git/glibc.git
This patch adds support for lock elision using ISA 2.07 hardware transactional memory instructions for pthread_mutex primitives. Similar to s390 version, the for elision logic defined in 'force-elision.h' is only enabled if ENABLE_LOCK_ELISION is defined. Also, the lock elision code should be able to be built even with a compiler that does not provide HTM support with builtins. However I have noted the performance is sub-optimal due scheduling pressures. |
||
|---|---|---|
| .. | ||
| bits | ||
| powerpc32 | ||
| powerpc64 | ||
| sys | ||
| Implies | ||
| Makefile | ||
| Versions | ||
| arch-fork.h | ||
| configure | ||
| configure.ac | ||
| dl-brk.S | ||
| dl-cache.h | ||
| dl-static.c | ||
| dl-sysdep.c | ||
| elision-conf.c | ||
| elision-conf.h | ||
| elision-lock.c | ||
| elision-timed.c | ||
| elision-trylock.c | ||
| elision-unlock.c | ||
| force-elision.h | ||
| get_clockfreq.c | ||
| get_timebase_freq.c | ||
| getdents64.c | ||
| getmsg.c | ||
| getrlimit64.c | ||
| gettimeofday.c | ||
| htm.h | ||
| init-first.c | ||
| ioctl.c | ||
| ipc_priv.h | ||
| kernel-features.h | ||
| kernel_termios.h | ||
| ldconfig.h | ||
| ldd-rewrite.sed | ||
| ldsodefs.h | ||
| libc-start.c | ||
| lowlevellock.h | ||
| nldbl-abi.h | ||
| oldgetrlimit64.c | ||
| profil-counter.h | ||
| pt-longjmp.c | ||
| pthread_attr_setstack.c | ||
| pthread_attr_setstacksize.c | ||
| pthread_mutex_cond_lock.c | ||
| pthread_mutex_lock.c | ||
| pthread_mutex_timedlock.c | ||
| pthread_mutex_trylock.c | ||
| pthread_spin_unlock.c | ||
| putmsg.c | ||
| readdir64.c | ||
| readdir64_r.c | ||
| readelflib.c | ||
| rt-sysdep.c | ||
| sched_getcpu.c | ||
| sem_post.c | ||
| sigcontextinfo.h | ||
| syscall.S | ||
| syscalls.list | ||
| sysdep.c | ||
| test-gettimebasefreq.c | ||
| time.c | ||