]> git.ipfire.org Git - thirdparty/glibc.git/commit
nptl: Add adapt_count parameter to lll_unlock_elision
authorPaul Murphy <murphyp@linux.vnet.ibm.com>
Tue, 12 Apr 2016 21:59:03 +0000 (16:59 -0500)
committerPaul E. Murphy <murphyp@linux.vnet.ibm.com>
Tue, 12 Apr 2016 21:59:03 +0000 (16:59 -0500)
commitc833c617a6001638921b79023cf1e8ee666b9844
treeeebb98daf487ef897abcf9d51944913436efffbd
parent30fa323f82b8870e9c79d5240d97fc558271ffcc
nptl: Add adapt_count parameter to lll_unlock_elision

Adding this parameter will give architectures more freedom in
how they choose to update this variable.  This change has no
effect on architectures which choose not to use it.

* nptl/pthread_mutex_unlock.c(lll_unlock_elision):
Add elision adapt_count parameter to list of arguments.
* sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
(lll_unlock_elision): Update with new parameter list
* sysdeps/unix/sysv/linux/s390/lowlevellock.h
(lll_unlock_elision): Likewise
* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
(lll_unlock_elision): Likewise

(cherry picked from commit e5e6bea22a2939fe7c415a375992f3ca19f9ff2e)
ChangeLog
nptl/pthread_mutex_unlock.c
sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
sysdeps/unix/sysv/linux/s390/lowlevellock.h
sysdeps/unix/sysv/linux/x86_64/lowlevellock.h