This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[ping2][PATCH 0/2] Port of lock elision to System/z v2
- From: Dominik Vogt <vogt at linux dot vnet dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: triegel at redhat dot com
- Date: Tue, 5 Nov 2013 06:51:35 +0100
- Subject: [ping2][PATCH 0/2] Port of lock elision to System/z v2
- Authentication-results: sourceware.org; auth=none
- References: <20130920105941 dot GB374 at linux dot vnet dot ibm dot com>
- Reply-to: libc-alpha at sourceware dot org
On Fri, Sep 20, 2013 at
> The following set of patches ports the implementation of the Intel
> lock elision patches. From my point of view, this patch set is
> well tested and ready to be committed. However, as I have no Fsf
> copyright assignment, please do not commit anything; this needs to
> be done by one of my Ibm colleagues.
>
> ChangeLog attached.
>
> v1: Initial draft.
> v2: Fix some bugs and implement results of verious discussions.
Pick one:
--
2013-09-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/s390/elision-conf.c:
* sysdeps/unix/sysv/linux/s390/elision-conf.h:
* sysdeps/unix/sysv/linux/s390/elision-lock.c:
* sysdeps/unix/sysv/linux/s390/elision-timed.c:
* sysdeps/unix/sysv/linux/s390/elision-trylock.c:
* sysdeps/unix/sysv/linux/s390/elision-unlock.c:
* sysdeps/unix/sysv/linux/s390/force-elision.h:
* sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
* sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
* sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
* sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
* sysdeps/unix/sysv/linux/s390/pthread_mutex_unlock.c:
New files. Add lock elision support for s390.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h (pthread_mutex_t):
Add lock elision support for s390.
* sysdeps/unix/sysv/linux/s390/Makefile:
Add new files.
* sysdeps/unix/sysv/linux/s390/htm.h
(__builtin_tbegin, __builtin_tend, __builtin_tabort)
(__builtin_non_tx_store, __builtin_tx_nesting_depth)
(__builtin_tx_nesting_depth, TBEGIN, TEND, TABORT, NTSTG, ETND):
Add.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h:
(__lll_timedlock_elision, __lll_lock_elision, __lll_unlock_elision)
(__lll_trylock_elision, lll_timedlock_elision, lll_lock_elision)
(lll_unlock_elision, lll_trylock_elision):
Add.
--
--
2013-09-23 Dominik Vogt <vogt@linux.vnet.ibm.com>
* sysdeps/unix/sysv/linux/s390/elision-conf.c:
New file. Add lock elision support for s390.
* sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
* sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
* sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
* sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/pthread_mutex_unlock.c: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h (pthread_mutex_t):
Add lock elision support for s390.
* sysdeps/unix/sysv/linux/s390/Makefile:
Add new files.
* sysdeps/unix/sysv/linux/s390/htm.h
(__builtin_tbegin, __builtin_tend, __builtin_tabort)
(__builtin_non_tx_store, __builtin_tx_nesting_depth)
(__builtin_tx_nesting_depth, TBEGIN, TEND, TABORT, NTSTG, ETND):
Add.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h:
(__lll_timedlock_elision, __lll_lock_elision, __lll_unlock_elision)
(__lll_trylock_elision, lll_timedlock_elision, lll_lock_elision)
(lll_unlock_elision, lll_trylock_elision):
Add.
--
Ciao
Dominik ^_^ ^_^
--
Dominik Vogt
IBM Germany