# Re: \[PATCH v3\] loop: reduce the loop\_ctl\_mutex scope

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-09-01 05:36:57 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/09/6405147
- Thread: https://ratatoskr.run/linux-block/2021/08/6405025/t.md

```text
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.
```
