Skip to content
Commit e9b9eb59 authored by David S. Miller's avatar David S. Miller
Browse files

sparc64: Use pause instruction when available.



In atomic backoff and cpu_relax(), use the pause instruction
found on SPARC-T4 and later.

It makes the cpu strand unselectable for the given number of
cycles, unless an intervening disrupting trap occurs.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 270c10e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment