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=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 E7710C433E9 for ; Mon, 1 Feb 2021 13:52:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9B5EC64D9D for ; Mon, 1 Feb 2021 13:52:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232409AbhBANwL (ORCPT ); Mon, 1 Feb 2021 08:52:11 -0500 Received: from mga11.intel.com ([192.55.52.93]:38958 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232399AbhBANwJ (ORCPT ); Mon, 1 Feb 2021 08:52:09 -0500 IronPort-SDR: Um1vpI+/cSSqhndU66hDGjvnIe6FnxRK4f5zLZdb/x1p8p9BDqPS1f8MwXQFDXNg5k/XD2dsSk kmHKZxwM61sw== X-IronPort-AV: E=McAfee;i="6000,8403,9881"; a="177177578" X-IronPort-AV: E=Sophos;i="5.79,392,1602572400"; d="scan'208";a="177177578" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2021 05:50:23 -0800 IronPort-SDR: hcgSNPnILhJZTpavke9oQarD8o6y15BPsDI72l1r64bBRIZ8XNdFa2A0I+8+KfxG/beLS6V34K adE1EqYtx6ww== X-IronPort-AV: E=Sophos;i="5.79,392,1602572400"; d="scan'208";a="371556379" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2021 05:50:18 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1l6Zao-00190R-DK; Mon, 01 Feb 2021 15:50:14 +0200 Date: Mon, 1 Feb 2021 15:50:14 +0200 From: Andy Shevchenko To: Yury Norov Cc: linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-sh@vger.kernel.org, linux-arch@vger.kernel.org, Geert Uytterhoeven , Yoshinori Sato , Rich Felker , Arnd Bergmann , Dennis Zhou , Andrew Morton , Wolfram Sang , David Sterba , Stefano Brivio , "Ma, Jianpeng" , Wei Yang , Josh Poimboeuf , John Paul Adrian Glaubitz , Joe Perches Subject: Re: [PATCH 8/8] lib: add fast path for find_first_*_bit() and find_last_bit() Message-ID: References: <20210130191719.7085-1-yury.norov@gmail.com> <20210130191719.7085-9-yury.norov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210130191719.7085-9-yury.norov@gmail.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org On Sat, Jan 30, 2021 at 11:17:19AM -0800, Yury Norov wrote: > Similarly to bitmap functions, users will benefit if we'll handle > a case of small-size bitmaps that fit into a single word. > > While here, move the find_last_bit() declaration to bitops/find.h > where other find_*_bit() functions sit. As per previous patches: - decouple from tools - show examples of the code generation difference -- With Best Regards, Andy Shevchenko