mirror of
https://abf.rosa.ru/djam/glibc40.git
synced 2025-02-24 00:02:53 +00:00
11 lines
344 B
Diff
11 lines
344 B
Diff
--- glibc-2.27/sysdeps/x86_64/atomic-machine.h~ 2018-02-01 16:17:18.000000000 +0000
|
|
+++ glibc-2.27/sysdeps/x86_64/atomic-machine.h 2018-04-28 14:19:06.374119197 +0000
|
|
@@ -409,7 +409,7 @@
|
|
__result; })
|
|
|
|
|
|
-#define atomic_spin_nop() asm ("rep; nop")
|
|
+#define atomic_spin_nop() asm ("lfence")
|
|
|
|
|
|
#define __arch_and_body(lock, mem, mask) \
|