Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp1441242rwp; Thu, 13 Jul 2023 10:52:46 -0700 (PDT) X-Google-Smtp-Source: APBJJlGqoBEm78RPUqwupQMDVxzFatvju/pwWdafTTpHEi/HdigPhzxGF4N613p+3aD/UuoMy1y+ X-Received: by 2002:a05:6358:7242:b0:134:ed86:1a75 with SMTP id i2-20020a056358724200b00134ed861a75mr3958643rwa.28.1689270766059; Thu, 13 Jul 2023 10:52:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689270766; cv=none; d=google.com; s=arc-20160816; b=RKIVgEkmcaH7sITjrK4xUsRUhQ2g4U+7M+AnYXitGHXIcZC//6mevRfsIbwmB95Agx xYcUDSF7p1wzO69cou5XTAD5xBiDeyPZZfBoRMxkf6Fu4F3/p/pA7rAkHpmp/q9743R7 G1tRytft8s5DiPbPQ37d/yFIYhUPWaRtrEApaJnJSpAPHEUHvuFNvEiPuuSENRmGKsjX J8oBgT15PfXpfcfvpQIurfPsfgRLgO+MuX/n4Js4z0NUYGA6hRqX/4BEwHk3K5ttXypv YZ4XzJuQ6s4OCkGCWcFmPtVxSWXIa8YZWL61LuB9jUpWl5ziU4qyWuPpOWMqIwsdkxtI AAIw== 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 :dkim-signature; bh=h+PA8x9lx90XC4SZH33Sy9UlyB9z+QK2wXV0bvAP8Bc=; fh=TF+GKmMc8h9FHGtJeUo5OSCCOjKX2xppf8EwLprVKLI=; b=JXnIUJexotYQccCgLdyx6LqOas87GV9s0ccSuMYevtvIWRNI8qWeLvJ4foOmH4arHM KVJhqXjlNpxg9BdaedqYLyAFSoZXYgl2gqqJSJXB68uB7eFH2LKZxddu3E4eRIuqkn9H esF6tqEwjQL6+CaHXTuWkiFljGMWQ4bmf/sZzwCWh9jJMO3hyvH9/hKMVTlwfOT1ZEKq D0ROJmJ+/dsA28Gxc6bDy2cO1tKm9zpC9kya8PCJZVomBAHbxVsm3o3+MECjoGzn6YPv 4jpMeLiicgdewaRzyZlYTtdMawPOu4IAr6wHHlaSFVndQ0FnJtu4yT4OSnQYFrUlaayX YKyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V1vPZ5JF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h11-20020a65480b000000b0054fe4cdd1a7si5195117pgs.716.2023.07.13.10.52.32; Thu, 13 Jul 2023 10:52:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=V1vPZ5JF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230290AbjGMRaG (ORCPT + 99 others); Thu, 13 Jul 2023 13:30:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233624AbjGMR37 (ORCPT ); Thu, 13 Jul 2023 13:29:59 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EFBA62D6D for ; Thu, 13 Jul 2023 10:29:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1689269397; x=1720805397; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5UG+IoVPbM06HhwbvcHwbFoP2KPbqFQTKZZAF5phBx4=; b=V1vPZ5JFImjTfn7AJQlEfGpC+S+4CTobTH/37rvO4fngbcxhF9YRZTfZ Ikx8Pf/VvfAJeXGHJaniIVs194LKxEaZEcKli92dMSgSVQHKep9bc9SIh cm7BzJDhLt0Jy+3/Im+k0+CY/46apFiwA/Aw6wM9nkkiofWaSCSQERtPN ECWw4uAzXDN23eFreJhGj0ZJd3IrilWosbwJ7SDigQDdEk+WU/LmHRlU9 Mv42czE5dXmJlDBZ332q2HQ0Xs5MpqaE697xhGry/OljMp5fKL5i+E3eX ym6pxaDdoOLS6YbmoCbn6rbYWYXNQIlhydZzktL17lAOv1sLOmZgVCyWq Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="362728612" X-IronPort-AV: E=Sophos;i="6.01,203,1684825200"; d="scan'208";a="362728612" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Jul 2023 10:28:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10770"; a="699333195" X-IronPort-AV: E=Sophos;i="6.01,203,1684825200"; d="scan'208";a="699333195" Received: from smile.fi.intel.com ([10.237.72.54]) by orsmga006.jf.intel.com with ESMTP; 13 Jul 2023 10:28:49 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.96) (envelope-from ) id 1qK07T-002Rq9-17; Thu, 13 Jul 2023 20:28:47 +0300 Date: Thu, 13 Jul 2023 20:28:47 +0300 From: Andy Shevchenko To: Alexander Potapenko , William Breathitt Gray Cc: catalin.marinas@arm.com, will@kernel.org, pcc@google.com, andreyknvl@gmail.com, linux@rasmusvillemoes.dk, yury.norov@gmail.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, eugenis@google.com Subject: Re: [v2 1/5] lib/bitmap: add bitmap_{set,get}_value_unaligned() Message-ID: References: <20230713125706.2884502-1-glider@google.com> <20230713125706.2884502-2-glider@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230713125706.2884502-2-glider@google.com> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Cc: William On Thu, Jul 13, 2023 at 02:57:01PM +0200, Alexander Potapenko wrote: > The two new functions allow setting/getting values of length up to > BITS_PER_LONG bits at arbitrary position in the bitmap. A couple of years (?) ago it was a series to achieve something like this with better (?) code. Why not resurrect that one? https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg2195426.html -- With Best Regards, Andy Shevchenko