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.