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=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 BED7CC4338F for ; Wed, 28 Jul 2021 14:57:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9F5C960F0F for ; Wed, 28 Jul 2021 14:57:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235574AbhG1O5H (ORCPT ); Wed, 28 Jul 2021 10:57:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45506 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235546AbhG1O5G (ORCPT ); Wed, 28 Jul 2021 10:57:06 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8393CC061757; Wed, 28 Jul 2021 07:57:04 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id q18so2832091ile.9; Wed, 28 Jul 2021 07:57:04 -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=e2ywKCAyW5iOo3TdeL4LGysC3w1acIn4LADsFzbMsMA=; b=LmKgLak9fidSbx+hsVMK04ZqjeFal/L/sWVRHPUbfKyYpAF/FL5spbTmGeZD7MgHAl 5eKMIgEflypQwCqPRdpVG+ohHTvVL0gBPbAuOm+9PrzqU+/ObXpT9ut0SBxUdL8zmnHI OPsmcDAzTcTcJWQIB749Hk8BpJbIVEZ07oaLxPd7XcdWRrnfTvHjB0BJrna7ADRoLGjZ n+P/gZUano47GrIg207NeiAQuBa6oQ24nHw/HJsegM188NC5ZcZvJv9JqoG//qye24Z3 WrrGadOWX2X3AHUZIgCS/4wEBiOmnnDhciABNrJS19nIl7rlcCXgi4f3NxtLO6aAt1Kd kWcA== 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=e2ywKCAyW5iOo3TdeL4LGysC3w1acIn4LADsFzbMsMA=; b=mezx2VdC9ZqYRAxnaMTufBGyNtkT535Ygdu9+PWwyTtqrdM+YVwWknU5Ymw7gcBdoj 9soJmDg/4U7c2t1Pm0tgJtOc4bb3XYDYSybme9to3Y7FqCO/WVuJ1CnJuELKLCVs2F0G ym/QbIK/VLx2aScNJ/jSu9g6bVv0mVc6OHfRSULl5uQ7g9Ua8ufOxXf6V2l5il9nqm2x Vo0YK2Lop+ArfhKMIm9Ac0o2FTkrEJNVjAuf6Iu8HRFWQptR41VctfC0x7IGBLm+Elas DwA5PnCjELD3ZcOwOaPODiLayBdKP5oRUx8rFBFdyHzVCEhrXCl58kdUzXnX889tDkQ2 RXwA== X-Gm-Message-State: AOAM530kuQ77CtFW2fpcxuRDsA+FwMb5WVq2MQRhmcSIJ6eh3VdwIMGZ HA6h6X9cFtICOf0uyMjaOK0= X-Google-Smtp-Source: ABdhPJywbWBVLY6qHpI7Oc9lffXNu0yIXkEG1M1rAmTYABJuf5ipVoG372N5iVxALJi3BqYFfoigxA== X-Received: by 2002:a05:6e02:ecd:: with SMTP id i13mr199143ilk.182.1627484223888; Wed, 28 Jul 2021 07:57:03 -0700 (PDT) Received: from localhost ([12.28.44.171]) by smtp.gmail.com with ESMTPSA id x4sm78028ilj.52.2021.07.28.07.57.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jul 2021 07:57:03 -0700 (PDT) Date: Wed, 28 Jul 2021 07:57:02 -0700 From: Yury Norov To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Lucas Stach , Russell King , Christian Gmeiner , David Airlie , Daniel Vetter , Jean Delvare , Guenter Roeck , Andy Shevchenko , Rasmus Villemoes , Marc Zyngier , David Woodhouse , Andrew Morton , Wei Yang , Geert Uytterhoeven , Alexey Klimov , x86@kernel.org, linux-kernel@vger.kernel.org, etnaviv@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-hwmon@vger.kernel.org Subject: Re: [PATCH 0/3] for_each_*_bit: move to find.h and reconsider Message-ID: References: <20210618195735.55933-1-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210618195735.55933-1-yury.norov@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org Ping? On Fri, Jun 18, 2021 at 12:57:32PM -0700, Yury Norov wrote: > for_each_bit() macro family uses find_bit() functions, so it's better > to have for_each_bit() and find_bit() functions in the same header. > > This series puts for_each_bit() to a proper place and optimizes its > usage over the kernel. > > The series is based on this: > https://lore.kernel.org/linux-arch/20210612123639.329047-1-yury.norov@gmail.com/ > > The full series can be found here: > https://github.com/norov/linux/commits/bm-final > > Yury Norov (3): > include/linux: move for_each_bit() macros from bitops.h to find.h > find: micro-optimize for_each_{set,clear}_bit() > Replace for_each_*_bit_from() with for_each_*_bit() where appropriate > > arch/x86/kernel/apic/vector.c | 4 ++-- > drivers/gpu/drm/etnaviv/etnaviv_gpu.c | 4 ++-- > drivers/hwmon/ltc2992.c | 3 +-- > include/linux/bitops.h | 34 --------------------------- > include/linux/find.h | 34 +++++++++++++++++++++++++++ > 5 files changed, 39 insertions(+), 40 deletions(-) > > -- > 2.30.2