Home
last modified time | relevance | path

Searched hist:"72 c1d3af" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/include/exec/
H A Dcpu-defs.h72c1d3af Mon Mar 10 09:56:30 CDT 2014 Peter Maydell <peter.maydell@linaro.org> 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>