Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3994541pxv; Mon, 28 Jun 2021 18:50:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJygRWM5NHTu7MWQGi+z7KSzqRJEz85VRBi/cbwJgfVMJ43R4gJHAF060a3VLVF79xwdPO1q X-Received: by 2002:a05:6e02:b47:: with SMTP id f7mr19949953ilu.135.1624931437074; Mon, 28 Jun 2021 18:50:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624931437; cv=none; d=google.com; s=arc-20160816; b=AQ+9kJExbDRTXzODVQLyGflEwu0mM5NH90CQyKqbTbdGFxXV7m9fK2e4sFnGC/hCZ/ AkbRNyXugcFRSXoF2DHl5qbg7bYhD0J1HcHkuXpRliA0dx80mrnVew0S8pAE35+u2Q9G OtZWGCoSzbPdi6I8pYUSSh1+tZ4mZfeoSE086AMcZlCzZ31uqFQ+YUOzP3eMIBD87ntK zL4CLODsAghm1s9qtbbpxKAcoJq+NnlKPe28//wb102wXEU4GNpe88EGly+7MdsrFIKy EluzQ0jzaRitbohfaAI3COeGLq/XYnKgcd8CUY9/UEkY/Ce4ygzMs87r5euuOJEKAXib YD9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:to:from:date:dkim-signature; bh=zwISlu4t3dplgWD20RF908rV5PcoQEWx07KHDpdjYT8=; b=U74cdW02oAzsJa+256vlZVhc0o707bnMuyAmpgCKdydXAhpvvyq5MgekviC8ldwZ0X obDd7+xZQewCwnvLnE2s4c4vx236PZK+T6xxsPj4qw3Tj9McrWI+00HJDk2Q8tr+tMD3 mRveDJy7jw6nW8Azg8rvTyiXVMkf8qw5xPlhroxd1NwVdX8AaBez/ReiLdS6qz3y3Y4g yi1b+Iz4Ffhqs0DG3/uWjuA6LtuwD3GjHCOOfHA0hfkJTM1H2+a/yCQvQXaFinj/wIEC CZvuAjO/ReQ3hsmlguyiixuqlk37BVwI1deEm8nkSBcSQk0Z9ZFFR4ZgeTDyGtIs5Be1 JTiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oAfx9elv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q11si6507911ilt.85.2021.06.28.18.50.25; Mon, 28 Jun 2021 18:50:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=oAfx9elv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231483AbhF2Buy (ORCPT + 99 others); Mon, 28 Jun 2021 21:50:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230366AbhF2Buu (ORCPT ); Mon, 28 Jun 2021 21:50:50 -0400 Received: from mail-qv1-xf2b.google.com (mail-qv1-xf2b.google.com [IPv6:2607:f8b0:4864:20::f2b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83C29C061760; Mon, 28 Jun 2021 18:48:22 -0700 (PDT) Received: by mail-qv1-xf2b.google.com with SMTP id h18so2333186qve.1; Mon, 28 Jun 2021 18:48:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=zwISlu4t3dplgWD20RF908rV5PcoQEWx07KHDpdjYT8=; b=oAfx9elvsqm/3Q6uACk/S/oJi2vyR7eJQOLDBtuFTBImyroQPtRQhxAeIjgiHCrkTb sx8GyMHGnUjAazJJ2OPAF7P6p7H86t4lpJ3WJW2WXehAngMztSeDmbi7rkriKqvSDFWq 0bW65X8zsIqJbvr3BDFLAQjyrcnAup5qI5SaHiqPy8B2pcNJ5zK5SyzTCWJndftCWSWf h87AQ+F2edC0MeUUxcsYTwqh4jieGoAknDI5acQOmsT1HS5I4/+LwzldPUGdDJROucgD q4iSGAkMcFKiAaJ75+Vf6R3wsvRXF7ut8bejPlqgLdwLXiE4fbHMeFJTDwhYT8l9te83 NA7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=zwISlu4t3dplgWD20RF908rV5PcoQEWx07KHDpdjYT8=; b=EnNya0I/g4koJe39wmxOknwXFujYzG7sBjb/kBqOFlkj6d5EJAN6KKLVW2fODHHs/5 sGmH3tlipmTThdsmENEAjNN2d/GUCOeaDeO1lRNxc9AevvImU5irRdS2DQkC6QVANEVE d7dLAU/aIKiMZKgSEYhK4cAZ55zk2KnbT+wdwHEUmACy5bSmACU9ocqr2M1PLgEGGf1g LV//1AOMpeWB7HU7cVpUvS66JpsaRhuEQck41cFexWBW293iuOzZuKF2EhAXTixWNMT1 TkD1ougugkJX4D3xpH21JNiOYDF3lhOOHBN8ro0d73aB71FoAFmbTwvSkOIafR7n//jL VTFA== X-Gm-Message-State: AOAM533/P56/31qlOBtAIllFRaJRuLXks1kP2E1oaJnBSvKvJjxmfkT9 wdsW/ubixY9969tqBGVAw2CZOMxyDsc= X-Received: by 2002:a05:6214:13ac:: with SMTP id h12mr8220005qvz.48.1624931301428; Mon, 28 Jun 2021 18:48:21 -0700 (PDT) Received: from localhost ([207.98.216.60]) by smtp.gmail.com with ESMTPSA id t187sm11089487qkc.56.2021.06.28.18.48.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Jun 2021 18:48:21 -0700 (PDT) Date: Mon, 28 Jun 2021 18:48:20 -0700 From: Yury Norov To: linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, Benjamin Herrenschmidt , Catalin Marinas , Will Deacon , Yoshinori Sato , Brian Cain , Geert Uytterhoeven , Thomas Bogendoerfer , Jonas Bonn , Stefan Kristiansson , "James E.J. Bottomley" , Palmer Dabbelt , Heiko Carstens , Rich Felker , David Hildenbrand , Jaegeuk Kim , Arnd Bergmann , Andy Shevchenko , Rasmus Villemoes , Andrew Morton , Alexander Lobakin , Samuel Mendoza-Jonas , Jakub Kicinski , Daniel Bristot de Oliveira , Alexey Klimov , Ingo Molnar Subject: Re: [PATCH 0/8] all: use find_next_*_bit() instead of find_first_*_bit() where possible Message-ID: References: <20210612123639.329047-1-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210612123639.329047-1-yury.norov@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 12, 2021 at 05:36:31AM -0700, Yury Norov wrote: > find_first_*_bit() is simpler and faster than 'next' version [1], and they > work identically if start == 0. But in many cases kernel code uses the > 'next' version where 'first' can be used. This series addresses this issue. > > Patches 1-3 move find.h under include/linux as it simplifies development. > Patches 4-8 switch the kernel and tools to find_first_*_bit() implementation > where appropriate. Guys, do we have any blocker for this series? If not, I'd like to have it merged in this window. And this too: https://lore.kernel.org/lkml/YNirnaYw1GSxg1jK@yury-ThinkPad/T/