Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp2367181rdb; Wed, 21 Feb 2024 05:44:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWwbLCzjxUr01LV0e8RO1wdDQNOo3VWsvM0t+hngCW11W1YePljHbiP/z5+oYBwrg0I+GJASb7gXglioeDU5BGpRVNRsD5ktD0E1+lK1A== X-Google-Smtp-Source: AGHT+IEQjtaPHuS0SO29tKsq7nHAGjvrMY0ICiZmbjMSTZZOkJSXj3rQlVi5jnJuqu1kREN0uK8U X-Received: by 2002:a17:906:5395:b0:a3f:40ac:1e0e with SMTP id g21-20020a170906539500b00a3f40ac1e0emr1260945ejo.67.1708523089064; Wed, 21 Feb 2024 05:44:49 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708523089; cv=pass; d=google.com; s=arc-20160816; b=d5qP1w09tWqjb13OJb9Z5DVaKfAD3srBiBSA7d/NQJFt3dOZ4ocYydTogM0YR7Fw0Z KjTrUHR6WXOVpH4u+HNax73Hm7vcEqFqZNDyxX401IEg5tPQobnOB6xexKFjTYhwxuyK 3OBAJrk5N1Ktd8eOgsnMvJjS8yqUyTdae1zulxGIVWBUoKJqPVDwAsHHp+tiWRCwG+Ed Vh/V0u9RpGOkgjMzainWzDwS5FvyW/m1rLyiCuPRaLZ08uD7vdD6/DPQx2tlOorhtaIA 8mcHXaAokHgyoJIytPGrhranW2IUm8P0IPYcDptV4kgIHWA87niyp9AMDHnDCHR0QFUy x4Tw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:organization:references :in-reply-to:message-id:subject:cc:to:from:date:dkim-signature; bh=jrp+YmUU+v0EhVwMHcIQvcwO/VqJPYfeVs/EWjoSXJA=; fh=rdOFS8uJbI128Rj5SoZhlTre94UA5n4TbK9Y5itZs6Q=; b=mLUIjjtz1jyRBwsGijjAyBAJrE34r5dWET/KMgEfGoBbxkfhMApU842qVUMZ0tQkls 6UDq8TQg2BeL/dO7Ijcb1cyZAUTE66pCJ6Yyf1ufDfrxGm7HktLt5xD4ZlkVDDfjnwPI z9TxjNXHLvhmjJe9UD8iOq9B+7LK7AyPa79SQwXMZXOs/+0cwpKHUmPCmmNIuQ3P9yVM oFN8dQX0Cx3YpstkWRaTbUOYCixrufVYJMCh0x4QC+BAHjiDDwP/9bqwl478bAeJDQuo 9IlW7hTFudLYKJpGPJyo7Tl3NdsrH4pfKUlWqE7df8GNuc+svNaaUb8W/fB0fMRUVVk8 Fr2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="kdesK/7Y"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-74817-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74817-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a10-20020a1709064a4a00b00a3f4b35cc31si397287ejv.132.2024.02.21.05.44.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 05:44:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-74817-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="kdesK/7Y"; arc=pass (i=1 spf=pass spfdomain=bootlin.com dkim=pass dkdomain=bootlin.com dmarc=pass fromdomain=bootlin.com); spf=pass (google.com: domain of linux-kernel+bounces-74817-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-74817-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id C163E1F24841 for ; Wed, 21 Feb 2024 13:44:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF5DC7BAF8; Wed, 21 Feb 2024 13:44:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="kdesK/7Y" Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAAF378B53; Wed, 21 Feb 2024 13:44:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.183.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523079; cv=none; b=QG5khIVkdxLYc6TmDS/0cRB8Z0NhML3Lt49uV/CFQRXU3r5Xaf7SN+6btbuyLthPp3+g6hORr+loGhfChCjmQddRKvubKCjIMq9z8qeoARLZuXFS48Bh+gywD5ewhPHBPtRk5hdGUfdI9lt/V/KkYSDsl0+WTKdr60ezLdRrGSU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708523079; c=relaxed/simple; bh=jZFVlaoxSO28+3NT998Mf72mtvHwv/LubVSsk9HbnJs=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=DKut4VhT30QQuoDMHN4meIItMUZZnXDo5CWzuBWPP65WZPkKCBu7Bf4fo8WYrt54Q6nZ6YPs791hzzJCTblYL5UaIZTjGno22+B/i3AqPvEjSGhaZuGyfvHMB7sW1YJAJxiejh9fMFEasLfEEoiEYH1SDWnIxH6okzJktYNlFxk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=kdesK/7Y; arc=none smtp.client-ip=217.70.183.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Received: by mail.gandi.net (Postfix) with ESMTPSA id 5980660002; Wed, 21 Feb 2024 13:44:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1708523074; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=jrp+YmUU+v0EhVwMHcIQvcwO/VqJPYfeVs/EWjoSXJA=; b=kdesK/7Y8qVDLsCghR0aipV1MYMOWBJevJpEdYlrmc+vqk331xncXZaKQoDfbTKsCCgSY4 pFkpEI4J2SsnRORd0MParLYiqNXZEC0a3TnwNaqQy/0YWUbt+Tq47dTm+couH/C06schmB ydviN/SiZmK85C5VpjWmT8eZImWf0aZqcjg3/r0+a9W/sFC/IbYkakP5vMepKmLSsKfJFx s42dEoJyKi2pBT/xce43VCQsZDEyc8Qc6JToSDqcToxLTiFiLAJbQ7NiJpSbD6ZzQ64ov1 QG0Jsv2yr0Ect/roDJsitO0mbz/6jScd4Mnbg7Y/Zm4Fn/90vLBKjJ/ueMtQqw== Date: Wed, 21 Feb 2024 14:44:31 +0100 From: Herve Codina To: Andy Shevchenko Cc: Yury Norov , Vadim Fedorenko , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rasmus Villemoes , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Andrew Lunn , Mark Brown , Christophe Leroy , Thomas Petazzoni Subject: Re: [PATCH v3 RESEND 3/6] bitmap: Make bitmap_onto() available to users Message-ID: <20240221144431.149c3a16@bootlin.com> In-Reply-To: References: <20240212075646.19114-1-herve.codina@bootlin.com> <20240212075646.19114-4-herve.codina@bootlin.com> <20240212143753.620ddd6e@bootlin.com> <20240212152022.75b10268@bootlin.com> <20240215184612.438bd4f2@bootlin.com> Organization: Bootlin X-Mailer: Claws Mail 4.2.0 (GTK 3.24.38; x86_64-redhat-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-GND-Sasl: herve.codina@bootlin.com Hi Andy, Yury, On Thu, 15 Feb 2024 21:17:23 +0200 Andy Shevchenko wrote: [...] > > Now what's the plan ? > > Andy, do you want to send a v2 of this patch or may I get the patch, modify it > > according to reviews already present in v1 and integrate it in my current > > series ? > > I would like to do that, but under pile of different things. > I would try my best but if you have enough time and motivation feel free > to take over, address the comments and integrate in your series. > > I dunno what to do with bitmap_onto(), perhaps in a separate patch we can > replace it with bitmap_scatter() (IIUC) with explanation that the former > 1) uses atomic ops while being non-atomic as a whole, and b) having quite > hard to get documentation. At least that's how I see it, I mean that I would > like to leave bitmap_onto() alone and address it separately. > I will take the Andy's bitmap_{scatter,gather}() patch in my next iteration. And use bitmap_{scatter,gather}() in my code. For bitmap_onto() replacement, nothing will be done in my next iteration as it is out of this series scope. Hervé