diff options
author | Dominik Vogt <vogt@de.ibm.com> | 2013-07-19 05:16:28 +0000 |
---|---|---|
committer | Carlos O'Donell <carlos@redhat.com> | 2013-07-19 02:35:04 -0400 |
commit | 075b9322c9e091b7e139f4c57e07d78d896c7a62 (patch) | |
tree | ed59e1f76c65070543cce6558eb562752b0b31c9 /nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c | |
parent | d3d3ce982a61f4a657589f7fa0a979e9e907580d (diff) | |
download | glibc-075b9322c9e091b7e139f4c57e07d78d896c7a62.tar.gz |
Clean up whitespace in lock elision patches.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c b/nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c index 822d4bd1b6..2fed32b9a9 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c +++ b/nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c @@ -14,7 +14,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/>. */ + <http://www.gnu.org/licenses/>. */ #include "config.h" #include <pthreadP.h> @@ -32,7 +32,7 @@ struct elision_config __elision_aconf = acquisition attempts. */ .skip_lock_busy = 3, /* How often to not attempt to use elision if a transaction aborted due - to reasons other than other threads' memory accesses. Expressed in + to reasons other than other threads' memory accesses. Expressed in number of lock acquisition attempts. */ .skip_lock_internal_abort = 3, /* How often we retry using elision if there is chance for the transaction @@ -43,13 +43,14 @@ 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; -/* Force elision for all new locks. This is used to decide whether existing +/* Force elision for all new locks. This is used to decide whether existing DEFAULT locks should be automatically upgraded to elision in - pthread_mutex_lock(). Disabled for suid programs. Only used when elision + pthread_mutex_lock(). Disabled for suid programs. Only used when elision is available. */ int __pthread_force_elision attribute_hidden; |