linux/arch/arm64/include
Peter Crosthwaite 1baa82f480 arm64: Implement cpu_relax as yield
ARM64 has the yield nop hint which has the intended semantics of
cpu_relax. Implement.

The immediate application is ARM CPU emulators. An emulator can take
advantage of the yield hint to de-prioritise an emulated CPU in favor
of other emulation tasks. QEMU A64 SMP emulation has yield awareness,
and sees a significant boot time performance increase with this change.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
2015-03-17 10:17:29 +00:00
..
asm arm64: Implement cpu_relax as yield 2015-03-17 10:17:29 +00:00
uapi/asm Fairly small update, but there are some interesting new features. 2015-02-13 09:55:09 -08:00