On 2021/09/01 14:36, Christoph Hellwig wrote: > On Mon, Aug 30, 2021 at 09:13:50AM +0200, Christoph Hellwig wrote: >> Hi Tetsuo, >> >> this generally looks fine to me. The only issue is that I remember is >> that cmpxchg did historically not work on bool on all architectures. >> I'm not sure if this has been fixed since. > > Looks like that still is an issue based on the buildbot reports on > linux-kernel. I'd suggest to resend with idr_visible as an int. > I sent "[PATCH v3] loop: reduce the loop_ctl_mutex scope" as not using cmpxchg(). The buildbot is reporting errors on the v2 patch.