mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 18:45:27 +00:00
7b52aa7987
Actually enable the global memory barriers if supported by the OS. Because only recent versions of Linux include the support, they are disabled by default. Note that it also has to be disabled for QEMU to run under Wine. Before this patch, rcutorture reports 85 ns/read for my machine, after the patch it reports 12.5 ns/read. On the other hand updates go from 50 *micro*seconds to 20 *milli*seconds. Backports commit a40161cbe9ccbcbab798c3e4d257c4bba99d153a from qemu |
||
---|---|---|
.. | ||
bitmap.c | ||
bitops.c | ||
cacheinfo.c | ||
crc32c.c | ||
cutils.c | ||
error.c | ||
getauxval.c | ||
host-utils.c | ||
log.c | ||
Makefile.objs | ||
mmap-alloc.c | ||
module.c | ||
oslib-posix.c | ||
oslib-win32.c | ||
qemu-error.c | ||
qemu-thread-posix.c | ||
qemu-thread-win32.c | ||
qemu-timer-common.c | ||
range.c | ||
sys_membarrier.c |