qemu/target-arm
Peter Maydell 72c1d3af6e target-arm: Implement WFE as a yield operation
Implement WFE to yield our timeslice to the next CPU.
This avoids slowdowns in multicore configurations caused
by one core busy-waiting on a spinlock which can't possibly
be unlocked until the other core has an opportunity to run.
This speeds up my test case A15 dual-core boot by a factor
of three (though it is still four or five times slower than
a single-core boot).

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1393339545-22111-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Richard Henderson <rth@twiddle.net>
Tested-by: Rob Herring <rob.herring@linaro.org>
2014-03-10 14:56:30 +00:00
..
arm-semi.c
cpu64.c
cpu-qom.h
cpu.c
cpu.h target-arm: Implements the ARM PMCCNTR register 2014-03-10 14:56:28 +00:00
crypto_helper.c
gdbstub64.c
gdbstub.c
helper-a64.c
helper-a64.h
helper.c target-arm: Implements the ARM PMCCNTR register 2014-03-10 14:56:28 +00:00
helper.h target-arm: Implement WFE as a yield operation 2014-03-10 14:56:30 +00:00
iwmmxt_helper.c
kvm32.c
kvm64.c
kvm_arm.h
kvm-consts.h
kvm-stub.c
kvm.c
machine.c
Makefile.objs
neon_helper.c
op_addsub.h
op_helper.c target-arm: Implement WFE as a yield operation 2014-03-10 14:56:30 +00:00
translate-a64.c target-arm: Fix intptr_t vs tcg_target_long 2014-03-10 14:56:29 +00:00
translate.c target-arm: Implement WFE as a yield operation 2014-03-10 14:56:30 +00:00
translate.h target-arm: Implement WFE as a yield operation 2014-03-10 14:56:30 +00:00