From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D134CC432BE for ; Mon, 30 Aug 2021 07:13:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B726160F8F for ; Mon, 30 Aug 2021 07:13:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232969AbhH3HOq (ORCPT ); Mon, 30 Aug 2021 03:14:46 -0400 Received: from verein.lst.de ([213.95.11.211]:39511 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232321AbhH3HOq (ORCPT ); Mon, 30 Aug 2021 03:14:46 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 27D5168AFE; Mon, 30 Aug 2021 09:13:51 +0200 (CEST) Date: Mon, 30 Aug 2021 09:13:50 +0200 From: Christoph Hellwig To: Tetsuo Handa Cc: Christoph Hellwig , Jens Axboe , Hillf Danton , Pavel Tatashin , Tyler Hicks , linux-block Subject: Re: [PATCH v3] loop: reduce the loop_ctl_mutex scope Message-ID: <20210830071350.GB2498@lst.de> References: <2642808b-a7d0-28ff-f288-0f4eabc562f7@i-love.sakura.ne.jp> <20210827184302.GA29967@lst.de> <73c53177-be1b-cff1-a09e-ef7979a95200@i-love.sakura.ne.jp> <20210828071832.GA31755@lst.de> <33a0a1e5-a79f-1887-6417-c5a81f58e47d@i-love.sakura.ne.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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.