aboutsummaryrefslogtreecommitdiff
path: root/hw/mips/mips_jazz.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-02-16 10:05:23 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2018-03-12 16:12:47 +0100
commita40161cbe9ccbcbab798c3e4d257c4bba99d153a (patch)
treefe6cc9bb0a5a3253a59d0187a5266573a2b81e16 /hw/mips/mips_jazz.c
parentc8d3877e48c4f57381d72eaf8d016bff12ce2d7c (diff)
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. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/mips/mips_jazz.c')
0 files changed, 0 insertions, 0 deletions