Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp255922lqb; Tue, 28 May 2024 14:48:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV7kTWS6eSw8lE6OSFkULlKn1jK0hxWj5EZG5cH9AEFldRdCZ9JqJ4xjZi7nJbzPKr+9EM47aOywI5BsIq2xK1FWbWgr9CORCdqkZ+l/w== X-Google-Smtp-Source: AGHT+IHEAQSUeuGm7pMQUJJ/iJvVJK3Q8A+dubcxyVN/gnDxZ8IQWViYnMeQgYTt/CmGKZ/b80R3 X-Received: by 2002:a05:6a00:1d98:b0:6ed:4a97:26c1 with SMTP id d2e1a72fcca58-70202bfebbcmr418594b3a.10.1716932896806; Tue, 28 May 2024 14:48:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716932896; cv=pass; d=google.com; s=arc-20160816; b=VFhlwNR5YuhQavpxuVEShZqaUAvtxCUgnRlkMNdgCIzOVYDsrkG4s6CXeBvPeawxWm UICMTlUOC//7rX1/uAYQOe8WgKOkzrBZlUwZ1oPCOCYB0sF6yv3sF23vbJSOYQlNxvlm 1IrQ70xtnAV7qGs1ttp6Xj3BVdO/LyPn2Eig5D+p5Yt+tzCTEAGQBZSY8d0enr2BjAdm fO33wE94VcNcWZKPp/1EeP9LUBDpjRPZU62BDgd4eZXvGT3JJwu2WyypoD4K/B0VF7O9 M3FmhT4WOAjLHQYDHZ1f6AOXj8Dsfiz1uljD749RsgxyWNAbX6vVrDme9AaLKZ/k05gX VwOw== 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:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=jdUl1U+4/MthG7mD/H4uY8F8tXKZTHUFe0KXxAdDqBE=; fh=lzBYEPXMQ/SDCFeBGKFP821GedF60pspzEjGhu+fs/U=; b=GPQ+Ppbh9vZJmXTmF3Jh3n7yMPSecBjIEhYGLQpJjcuqdLzf4Tp1BUUPZu31GTWaPr Hso4vuLd4nCPhqb+w0HKJ0Dm52XmXAQUNGFBgouo/kcJ5rFQTy0bviC9+CP+Fjw+4b/P vUTxQCCCaXao1tiK6BXx3GJmy99SOFO3k0o4xeC5bdY1chfjec7B8ISQBBFXZk+8B+Aa TrU6pVMRwe3Np6h4WODjxZDmg8hdBbyvvDr/T7lUtFozPz581lRtICb0Pq8d9hvbZMEQ J3QBsqE6jjJnEHxdgV4+L8SXdRWxakkyyI6bMcKnhT11rEUdf2cp3diM2zogugGCsqY2 qFKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=Za29AP1S; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-193111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193111-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc051083si8568297b3a.37.2024.05.28.14.48.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:48:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=Za29AP1S; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-193111-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193111-linux.lists.archive=gmail.com@vger.kernel.org" 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 4C894B249CE for ; Tue, 28 May 2024 21:19:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 080C717B43C; Tue, 28 May 2024 21:19:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="Za29AP1S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 2DF6A224D1 for ; Tue, 28 May 2024 21:19:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716931171; cv=none; b=AN+hpxymQbEtUoJ0MvpZMHq2BnbIO8r5YZOUr7h0wLYOGPDQQ077H0WgpZAWx73aJeac+m285S99AmliWjyLOqxBW5gKSvjG1p/vhcoIGq5sGhT5OrMN/6kyHerI9pyDWhBfpIuHJO1D8s/ek7fBatne1g+MZnNrfQgeaHINudQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716931171; c=relaxed/simple; bh=nCPQZUaiGU8yooptwQKJbLWLOSOPw8tw5d5i6lCZR5Y=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=GoCYWAErrcj9Sr6VrQqdF6wfPJqbVbczFlOMgIEM642BPv5BuhtIQuwah9LpWxOB6nxxox3x6k43jtK2Br5GZhdP9bqLqi/8tzSGl6MGiqMvxFaeNfJOdR7gKdZCykhQwpmOunuUkQi/qeTRi/C7Mik1uIA7yYojE1sym45xVVc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=Za29AP1S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7221CC3277B; Tue, 28 May 2024 21:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1716931170; bh=nCPQZUaiGU8yooptwQKJbLWLOSOPw8tw5d5i6lCZR5Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Za29AP1S9bUjtNk7kMjcS3LvKc7td6j6CIq2V1pdqN0TwCVVptBkNlGnbhnRbab76 xEPnIZwJH9eIFUBKwr4I8vZbt3qrkr+8Ot7LBV6TzI9iKGZl+gdq6HJxXqiPdMEn/g YWvI+MSCEVQkT4kxDhoYBMYn1dh6WmvMv2Upsijk= Date: Tue, 28 May 2024 14:19:29 -0700 From: Andrew Morton To: Dennis Zhou Cc: Mateusz Guzik , tj@kernel.org, hughd@google.com, vbabka@suse.cz, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH v4] percpu_counter: add a cmpxchg-based _add_batch variant Message-Id: <20240528141929.ba7e59e4cae89eec01631306@linux-foundation.org> In-Reply-To: References: <20240528204257.434817-1-mjguzik@gmail.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-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=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 28 May 2024 13:56:58 -0700 Dennis Zhou wrote: > > EXPORT_SYMBOL(percpu_counter_add_batch); > > > > /* > > -- > > 2.39.2 > > > > Andrew you picked up the __this_cpu_try_cmpxchg() patches. At this point > you might as well pick up this too. The cpumask clean ups are likely > going to give me trouble later this week when I rebase so I'll probably > have to base my percpuh hotplug branch on your mm-unstable now. Well, if it makes more sense to carry these in a different tree, let's do that.