Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3359087pxb; Mon, 24 Jan 2022 08:01:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJwMEYBHtd5MFw1bk7W2FbHYGPkPs5CdHZidKaFZOjpD6QYaBPc5K8sZmFYyA8Mhmubbir8z X-Received: by 2002:a17:90a:e641:: with SMTP id ep1mr2501081pjb.157.1643040115830; Mon, 24 Jan 2022 08:01:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1643040115; cv=none; d=google.com; s=arc-20160816; b=Uu7+iitNB0Ur4XK0GCMQXQ5+o6I700ybg8duz2n0CnczKuZ4pdQwB69MimMPJQqrHq kVQ1Ij5cOim3m4ssJUCXctoUvh0Etoa3x9OOMgtnDWiYHRQKrk67kkFmR5YHQtiRrfun 31GIh4OiAbMnOqDjNILN6gVpZVGGuATE34tkl8x2FdTm9g/golNEi36+0sMz3qrrUqBD QhSiOfKI8nK46seQ71UA6CpGezLAx5bHwJltxPwhg5A6H9dxaSyEGV+Y/Aj5Va6p1C/0 FTe6wBQZyWRrCd6MGwutcjhYvD4VqoEuOsQ6C1WQKtAp//mPX9ZiK3wG536taMeUVvKa 884Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:dkim-signature; bh=ngdcx5M1+3hpr61oSCKB6Asopn1L3OGrgWMCvfbgA58=; b=0ywuzGwoD/2/MFMKHH+h0/rmsxelqlHMVyfbVZMKV9N4sambjqzBVxnwpM7Pgr9yLR MHLGn7+NQ+0eeiooI6Eo8KLOvcMM5epNHQxNUBJ5vAu6Nrno4tu0HxgbyWC5wl/+xi90 rxjmmn2XFKdhBg9+0Nvd8353xJVuPNh6ZsYFIFDSRCSeyxocE2tE3tfBd4AK0LnNF0QF 4H/fihpvCGhBBFyJM0tfvIV11HqhoRbg/qOxBJD4dg9F5NE/RSHEeSJ3zMnl62sCs19n 6VrsVOnO0XtssD+KiuzYVt+gpHDKEk7EEno8hAG5U150gK74VVYwIzJ8gLHyEr7iHEA6 KLLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=cxFZvegw; 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 my7si2237967pjb.90.2022.01.24.08.01.41; Mon, 24 Jan 2022 08:01:55 -0800 (PST) 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=20210112 header.b=cxFZvegw; 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 S240942AbiAXDLP (ORCPT + 99 others); Sun, 23 Jan 2022 22:11:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235984AbiAXDLO (ORCPT ); Sun, 23 Jan 2022 22:11:14 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F734C06173B; Sun, 23 Jan 2022 19:11:14 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id z10-20020a17090acb0a00b001b520826011so10742377pjt.5; Sun, 23 Jan 2022 19:11:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=ngdcx5M1+3hpr61oSCKB6Asopn1L3OGrgWMCvfbgA58=; b=cxFZvegw+jK0d8rLytqB5GjFNn1yJivtYwl5vmkTY+hWSpMYJOshCRuxy381njLRQg zvGdck9Fk8d14wf+wBxlH/umc8ZMT4hABzfGs758LEKuXU9frbJMRBX49Lr82IrL6VUp Onbr5JQdq3DSfEju9opgr9o14Q5QV790qL+AarB3jl0yLJxDXwOOpn1T9mwFh0xeuy2K E4dqZ5/8IjhBonFjZhcvgrqJiJQjKqy5aABX2Ob4xsuIZGbrm+YGJSjApF8XLkDCmRwt bzO76FJFb2sEoILiqM0IiPlOama+T/fug3abRSs/0rvB0MH+MFeGbl7MK6Cq0NoRdmVv qL3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=ngdcx5M1+3hpr61oSCKB6Asopn1L3OGrgWMCvfbgA58=; b=j0hY4XqHWE/KuFo0zzh39vZL7OSXofGN0EKxnBftxFpqu1ow9KflimlrYDXsgj8cq7 SrDPIC5XuFysP0dPX6VrRa67HUaVOAux9YqlY6nmrc7u+MpDAtPL8crxW0sTEwGpPhqn rqzK37nEcS5ZadEIJM4G002cGOvGUTN6owRxA4UER1ladsZ+AnNd4N9u2FhXt5E4FAKH 5s7+5y2PYM2PqCgtoKRBUSiCSQtFuFgxTW60hz+OY29yC/9uDrk1CfOGI4nWOSOTUr6h hvxL8EjSsqppW3OtLgWAaDdOQ46zfVJcgGeICbARw6g7eob8W/LgOwKTthE81wI3/Ubi bZnA== X-Gm-Message-State: AOAM531YSxQT2Z/VEsiAY+1EtBq/l7ZhBDdEnv0/XAW1g+iwgDvMUQR1 2FEV9cZTeKsCMVdU73zTOl8oaFDD7Pg= X-Received: by 2002:a17:90a:6287:: with SMTP id d7mr14198pjj.6.1642993873543; Sun, 23 Jan 2022 19:11:13 -0800 (PST) Received: from ?IPV6:2600:8802:b00:4a48:5d89:db9e:1ac7:6fdc? ([2600:8802:b00:4a48:5d89:db9e:1ac7:6fdc]) by smtp.gmail.com with ESMTPSA id s6sm12118945pjg.22.2022.01.23.19.11.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Jan 2022 19:11:12 -0800 (PST) Message-ID: <33765916-500d-88e2-30ea-8c55b559b7b6@gmail.com> Date: Sun, 23 Jan 2022 19:11:10 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 01/54] net/dsa: don't use bitmap_weight() in b53_arl_read() Content-Language: en-US To: Yury Norov , Andy Shevchenko , Rasmus Villemoes , Andrew Morton , =?UTF-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Greg Kroah-Hartman , Peter Zijlstra , David Laight , Joe Perches , Dennis Zhou , Emil Renner Berthing , Nicholas Piggin , Matti Vaittinen , Alexey Klimov , linux-kernel@vger.kernel.org, Andrew Lunn , Vivien Didelot , Vladimir Oltean , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org References: <20220123183925.1052919-1-yury.norov@gmail.com> <20220123183925.1052919-2-yury.norov@gmail.com> From: Florian Fainelli In-Reply-To: <20220123183925.1052919-2-yury.norov@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 1/23/2022 10:38 AM, Yury Norov wrote: > Don't call bitmap_weight() if the following code can get by > without it. > > Signed-off-by: Yury Norov Acked-by: Florian Fainelli -- Florian