|author||Rich Felker <email@example.com>||2015-08-16 18:15:18 +0000|
|committer||Rich Felker <firstname.lastname@example.org>||2015-08-16 18:15:18 +0000|
mitigate performance regression in libc-internal locks on x86_64
commit 3c43c0761e1725fd5f89a9c028cbf43250abb913 fixed missing synchronization in the atomic store operation for i386 and x86_64, but opted to use mfence for the barrier on x86_64 where it's always available. however, in practice mfence is significantly slower than the barrier approach used on i386 (a nop-like lock orl operation). this commit changes x86_64 (and x32) to use the faster barrier.
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions