mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
Clean up whitespace in lock elision patches.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
committed by
Carlos O'Donell
parent
d3d3ce982a
commit
075b9322c9
@ -1,5 +1,20 @@
|
||||
2013-07-19 Dominik Vogt <vogt@de.ibm.com>
|
||||
|
||||
* pthread_mutex_lock.c: Fix whitespace.
|
||||
* pthread_mutex_trylock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/elision-conf.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/elision-lock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/elision-timed.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/elision-trylock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/force-elision.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/hle.h: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Likewise.
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86/elision-conf.c:
|
||||
Remove __rwlock_rtm_enabled and __rwlock_rtm_read_retries.
|
||||
(elision_init): Don't set __rwlock_rtm_enabled.
|
||||
|
@ -43,7 +43,8 @@ struct elision_config __elision_aconf =
|
||||
.skip_trylock_internal_abort = 3,
|
||||
};
|
||||
|
||||
/* Set when the CPU supports elision. When false elision is never attempted. */
|
||||
/* Set when the CPU supports elision. When false elision is never attempted.
|
||||
*/
|
||||
|
||||
int __elision_available attribute_hidden;
|
||||
|
||||
|
@ -24,8 +24,8 @@
|
||||
|
||||
#define aconf __elision_aconf
|
||||
|
||||
/* Try to elide a futex trylock. FUTEX is the futex variable. ADAPT_COUNT is the
|
||||
adaptation counter in the mutex. */
|
||||
/* Try to elide a futex trylock. FUTEX is the futex variable. ADAPT_COUNT is
|
||||
the adaptation counter in the mutex. */
|
||||
|
||||
int
|
||||
__lll_trylock_elision (int *futex, short *adapt_count)
|
||||
|
@ -18,4 +18,5 @@
|
||||
/* The cond lock is not actually elided yet, but we still need to handle
|
||||
already elided locks. */
|
||||
#include <elision-conf.h>
|
||||
|
||||
#include "sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c"
|
||||
|
@ -15,6 +15,7 @@
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <elision-conf.h>
|
||||
#include "force-elision.h"
|
||||
|
||||
|
@ -15,6 +15,8 @@
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <elision-conf.h>
|
||||
#include "force-elision.h"
|
||||
|
||||
#include "nptl/pthread_mutex_timedlock.c"
|
||||
|
@ -15,6 +15,7 @@
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with the GNU C Library; if not, see
|
||||
<http://www.gnu.org/licenses/>. */
|
||||
|
||||
#include <elision-conf.h>
|
||||
#include "force-elision.h"
|
||||
|
||||
|
Reference in New Issue
Block a user