diff options
author | James Hogan <james.hogan@imgtec.com> | 2013-06-28 15:03:05 +0100 |
---|---|---|
committer | James Hogan <james.hogan@imgtec.com> | 2013-07-02 11:03:52 +0100 |
commit | 9649814432faa9016952895684120942da0d8481 (patch) | |
tree | 3a4c5862e7dd092a030f7276ebb34c34d68090ce /fs/super.c | |
parent | 234c7f1ac109ad1af4ae410463d03ccebf3d6657 (diff) |
metag: smp: don't spin waiting for CPU to start
Use a completion to block until a secondary CPU has started up, like ARM
do, instead of a loop of udelays.
On Meta, SMP is really SMT, with each "CPU" being a different hardware
thread on the same Meta processor core, so as well as being more
efficient and latency friendly, using a completion prevents the bogomips
of the secondary CPU from being drastically skewed every time by the
execution of the tight in-cache udelay loop on the other CPU.
Signed-off-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: "Srivatsa S. Bhat" <srivatsa.bhat@linux.vnet.ibm.com>
Diffstat (limited to 'fs/super.c')
0 files changed, 0 insertions, 0 deletions