diff options
Diffstat (limited to 'libbcachefs/six.c')
-rw-r--r-- | libbcachefs/six.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/six.c b/libbcachefs/six.c index 32837855..c60a6730 100644 --- a/libbcachefs/six.c +++ b/libbcachefs/six.c @@ -169,7 +169,7 @@ static bool six_spin_on_owner(struct six_lock *lock, struct task_struct *owner) break; } - cpu_relax_lowlatency(); + cpu_relax(); } rcu_read_unlock(); @@ -222,7 +222,7 @@ static bool six_optimistic_spin(struct six_lock *lock, enum six_lock_type type) * memory barriers as we'll eventually observe the right * values at the cost of a few extra spins. */ - cpu_relax_lowlatency(); + cpu_relax(); } osq_unlock(&lock->osq); |