irq_work: Optimize irq_work_single()
authorPeter Zijlstra <peterz@infradead.org>
Thu, 18 Jun 2020 20:28:37 +0000 (22:28 +0200)
committerPeter Zijlstra <peterz@infradead.org>
Tue, 24 Nov 2020 15:47:49 +0000 (16:47 +0100)
commit2914b0ba61a9d253535e51af16c7122a8148995d
tree1964cfeb5a14ef00bbc04fa237427f54caa32c74
parent545b8c8df41f9ecbaf806332d4095bc4bc7c14e8
irq_work: Optimize irq_work_single()

Trade one atomic op for a full memory barrier.

Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
include/linux/irqflags.h
kernel/irq_work.c