Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp734506pxu; Wed, 2 Dec 2020 01:50:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJypmp49gGbCPtAgxwibgNVmLLpkszNDqAlHNchFEqk45Kqd1V7VU7/vlQopj7Hgi6AuFfAs X-Received: by 2002:a05:6402:1421:: with SMTP id c1mr1740479edx.247.1606902607368; Wed, 02 Dec 2020 01:50:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606902607; cv=none; d=google.com; s=arc-20160816; b=mHtoSAczRz2Wn0R40YtuEmRv53IjtX+PgSH3gRAljPMqEaNCfYTvx5fjYmSRVfFmNT mFpc+tLfCBbB9CTU2k4FSSFpYvbpDzTamDt3Y5lse4vgoCoJz18cwhsA4A0htZ4b4PIN HT4mwNvG8FbAecXrVh/3jH3j3vwk5gEKKbWxFqfOn7fNm/qnv10hebKd5jgTpT+KYqqm FBJzCQQ9Fdy3HKhSb/Q0oRrn1zwjq2MLuJaG4BMqRqEOwjU0pMj/95cr07TztCpW/HtV zwKXov/rQdcUf3mBTGMF2d8Q9Dg8rH05bDZ7F+hSF8sVzI830YaR5YIuPdo/UNVCjNJx Lhfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=xxeZFd5pKME3hGxaLVP48/h3f0zbc+9iFQKitWBGC7A=; b=My1OZ00X7eUDNscMF2E1mu0he74VusMAM+bzhBd0h+uUsjiPokmhGtg/Hf1WDvx84D 6JmHCIsKO083qP3Lf9tVWkfbi2MELUojtuZBFZNyqT9w40xyYCS6MWE2CqrMODrZDWtD IVLcblvt+xi5vvYquLb4YuB+gpgGpYfurVxfarZ7YuhO2TTBKV8M9w/xw/LX45z/rmzB Drek+VXSFPlk4aaoVbtTOiHtmWkNAMhGer4iMb0KjEv0IbdBF2t3rGB2FPm0/FzsusaU /sX+LI2aQGYK8hwVwcSON27AK+mxOeqdzme+OMuYZOHlBqhIQnZfisJ/n4QBppslDZpH R8LQ== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si605694eju.683.2020.12.02.01.49.43; Wed, 02 Dec 2020 01:50:07 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388088AbgLBJsU (ORCPT + 99 others); Wed, 2 Dec 2020 04:48:20 -0500 Received: from mga02.intel.com ([134.134.136.20]:47109 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387847AbgLBJsU (ORCPT ); Wed, 2 Dec 2020 04:48:20 -0500 IronPort-SDR: jBQ+scQGYgYA7J1yGbc8TGX2sxz5zAqs6X7dF39bzEpU/BpsI3CX8CXzy9XWVKTyZ3N2010qTK T9vSZ0SaGf5g== X-IronPort-AV: E=McAfee;i="6000,8403,9822"; a="160044157" X-IronPort-AV: E=Sophos;i="5.78,386,1599548400"; d="scan'208";a="160044157" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 01:46:19 -0800 IronPort-SDR: fdvpCu4LKJtzIw6OKe18ZEzN2E4Mf7z7aFv8zacZOZQTlNPMdPurke/7A1ibbvXwQSMT0GwKK3 KSE/RUnLUc/A== X-IronPort-AV: E=Sophos;i="5.78,386,1599548400"; d="scan'208";a="365228059" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Dec 2020 01:46:16 -0800 Received: from andy by smile with local (Exim 4.94) (envelope-from ) id 1kkOjF-00BTr4-MB; Wed, 02 Dec 2020 11:47:17 +0200 Date: Wed, 2 Dec 2020 11:47:17 +0200 From: Andy Shevchenko To: Yun Levi Cc: dushistov@mail.ru, arnd@arndb.de, akpm@linux-foundation.org, gustavo@embeddedor.com, vilhelm.gray@gmail.com, richard.weiyang@linux.alibaba.com, joseph.qi@linux.alibaba.com, skalluru@marvell.com, yury.norov@gmail.com, jpoimboe@redhat.com, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org Subject: Re: [PATCH] lib/find_bit: Add find_prev_*_bit functions. Message-ID: <20201202094717.GX4077@smile.fi.intel.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 02, 2020 at 10:10:09AM +0900, Yun Levi wrote: > Inspired find_next_*bit function series, add find_prev_*_bit series. > I'm not sure whether it'll be used right now But, I add these functions > for future usage. This patch has few issues: - it has more things than described (should be several patches instead) - new functionality can be split logically to couple or more pieces as well - it proposes functionality w/o user (dead code) -- With Best Regards, Andy Shevchenko