tasklets: Replace barrier() with cpu_relax() in tasklet_unlock_wait()
authorThomas Gleixner <tglx@linutronix.de>
Tue, 9 Mar 2021 08:42:04 +0000 (09:42 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 17 Mar 2021 15:33:51 +0000 (16:33 +0100)
commitd2da74d1278a1b51ef18beafa9da770f0db1c617
treee7afcf65b6ee774a9b8d9b7681611a0f6aa4fc8e
parent6b2c339df90788ce6aeecee78d6494f262929206
tasklets: Replace barrier() with cpu_relax() in tasklet_unlock_wait()

A barrier() in a tight loop which waits for something to happen on a remote
CPU is a pointless exercise. Replace it with cpu_relax() which allows HT
siblings to make progress.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20210309084241.249343366@linutronix.de
include/linux/interrupt.h