unicorn/qemu/util
Paolo Bonzini 7b52aa7987
membarrier: add --enable-membarrier
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
2018-03-17 19:30:43 -04:00
..
bitmap.c bitmap: provide to_le/from_le helpers 2018-03-05 01:11:13 -05:00
bitops.c bitmap: remove BITOP_WORD() 2018-03-05 01:07:02 -05:00
cacheinfo.c configure: Drop AIX host support 2018-03-04 21:32:40 -05:00
crc32c.c util: Clean up includes 2018-02-19 01:27:55 -05:00
cutils.c cutils: add qemu_strtoi & qemu_strtoui parsers for int/unsigned int types 2018-03-17 19:13:34 -04:00
error.c include/qemu/osdep.h: Don't include qapi/error.h 2018-02-21 23:08:18 -05:00
getauxval.c util: Clean up includes 2018-02-19 01:27:55 -05:00
host-utils.c util: Clean up includes 2018-02-19 01:27:55 -05:00
log.c util: Move qemu-log to utils 2018-02-25 22:17:44 -05:00
Makefile.objs membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00
mmap-alloc.c util/mmap-alloc: refactor a little bit for readability 2018-03-01 23:55:15 -05:00
module.c util: Clean up includes 2018-02-19 01:27:55 -05:00
oslib-posix.c oslib-posix: check for posix_memalign in configure script 2018-03-08 08:56:35 -05:00
oslib-win32.c util: move declarations out of qemu-common.h 2018-02-22 09:25:48 -05:00
qemu-error.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-thread-posix.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-thread-win32.c util: Clean up includes 2018-02-19 01:27:55 -05:00
qemu-timer-common.c util: Clean up includes 2018-02-19 01:27:55 -05:00
range.c range: Replace internal representation of Range 2018-02-25 00:44:36 -05:00
sys_membarrier.c membarrier: add --enable-membarrier 2018-03-17 19:30:43 -04:00