« Previous | Next » 

Revision 72c1d3af

ID72c1d3af6e9c2745edfeaa71918a68bcee4b79db

Added by Peter Maydell about 10 years ago

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 <>
Message-id:
Reviewed-by: Richard Henderson <>
Tested-by: Rob Herring <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences