On Fri, May 22, 2020 at 03:55:09PM +0100, Daniel Thompson wrote:> +static atomic_t slaves_must_spin;> + if (!atomic_read(&slaves_must_spin))> + atomic_set(&slaves_must_spin, 1);> + atomic_set(&slaves_must_spin, 0);There is no atomic operation there; this is pointless use of atomic_t.