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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 21410C54EBD for ; Thu, 12 Jan 2023 07:33:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235489AbjALHdw (ORCPT ); Thu, 12 Jan 2023 02:33:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236614AbjALHdu (ORCPT ); Thu, 12 Jan 2023 02:33:50 -0500 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B6E8FEC; Wed, 11 Jan 2023 23:33:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=npk4twvt/nyxYb9+XqMeG2aG/rkeJ5k7hRSljU/tAPY=; b=mtGpkiv5ilgLs4fOmqdxnDPVXS tTCPUeQI5+eVazcZazs0mL3NJM5pcvAEye/NPA2XkjWQDgo6C/ZC8HdUWnxpZyDddeI2U8rv2fUup yurg7Y0/PXJSj2n5MyuBP+QEZydw1taCNo0cPAJnpDkM6crwv7cexi+/t2wcVNBC8D3u2oNimA7F7 Kr7+o51jZ5txYIZdoCC9P51XzdomLedDHopPnsvD9vG+eFsJSj6V9vfAW1+CEu/xI5r+6HvDKSfbR xP1L4aNzIDVT8dMp4jV7pWkkliAyomcoNSmGGwLE5dR4mGeecvGNcSWjfi+ekDckqcNW3VLpe0vq3 2FUNheyw==; Received: from hch by bombadil.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFs5o-00E1Ar-VK; Thu, 12 Jan 2023 07:33:44 +0000 Date: Wed, 11 Jan 2023 23:33:44 -0800 From: Christoph Hellwig To: David Howells Cc: Al Viro , Jens Axboe , linux-block@vger.kernel.org, Christoph Hellwig , Matthew Wilcox , Jan Kara , Jeff Layton , Logan Gunthorpe , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5 9/9] bio: Fix bio_flagged() so that it can be combined Message-ID: References: <167344725490.2425628.13771289553670112965.stgit@warthog.procyon.org.uk> <167344732239.2425628.14636562879255014501.stgit@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <167344732239.2425628.14636562879255014501.stgit@warthog.procyon.org.uk> X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org I find the subject a little weird. What you're doing is to clean up the C version, which also tends to micro-optimize the x86 assembly generation for a specifi compiler. Which is good on two counts, so I'm all for the patch, but I don't really think it's "combining", which really made me think of testing two flags in one call.