1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-11 12:10:50 +03:00
Files
glibc/sysdeps/unix/sysv/linux
Stefan Liebler c813dae5d8 S390: Use C11-like atomics instead of plain memory accesses in lock elision code.
This uses atomic operations to access lock elision metadata that is accessed
concurrently (ie, adapt_count fields).  The size of the data is less than a
word but accessed only with atomic loads and stores.

See also x86 commit ca6e601a9d:
"Use C11-like atomics instead of plain memory accesses in x86 lock elision."

ChangeLog:

	* sysdeps/unix/sysv/linux/s390/elision-lock.c
	(__lll_lock_elision): Use atomics to load / store adapt_count.
	* sysdeps/unix/sysv/linux/s390/elision-trylock.c
	(__lll_trylock_elision): Likewise.
2016-12-20 15:12:48 +01:00
..
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-04-27 09:08:29 +02:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-20 00:46:53 +00:00
2016-12-07 09:35:07 +01:00
2016-12-20 00:46:53 +00:00
2016-11-24 19:38:51 -02:00
2016-11-21 08:23:12 -08:00
2016-11-21 08:23:12 -08:00
2016-03-22 00:32:20 +00:00
2016-04-11 10:27:25 +02:00
2016-11-21 08:23:12 -08:00
2016-03-15 21:11:07 +00:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-11-24 19:38:51 -02:00
2016-03-21 16:30:05 +00:00
2016-11-24 19:38:51 -02:00
2016-04-14 08:54:57 +02:00
2016-11-21 08:23:12 -08:00
2016-11-21 08:23:12 -08:00