]> www.infradead.org Git - users/jedix/linux-maple.git/commit
softirq: use bit waits instead of var waits.
authorNeilBrown <neilb@suse.de>
Wed, 25 Sep 2024 05:31:44 +0000 (15:31 +1000)
committerPeter Zijlstra <peterz@infradead.org>
Mon, 7 Oct 2024 07:28:39 +0000 (09:28 +0200)
commit49994911b401c5f6b979060ffbc834949a024d8a
tree19d0c36669aab207649b1a0060ecc3446aa0b995
parent80681c04c5e8e4297b9ebf201ca3ce6242aa16c3
softirq: use bit waits instead of var waits.

The waiting in softirq.c is always waiting for a bit to be cleared.
This makes the bit wait functions seem more suitable.
By switching over we can rid of all explicit barriers.  We also use
wait_on_bit_lock() to avoid an explicit loop.

Signed-off-by: NeilBrown <neilb@suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lore.kernel.org/r/20240925053405.3960701-8-neilb@suse.de
kernel/softirq.c