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 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id C343AECAAA1 for ; Mon, 24 Oct 2022 17:03:11 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 51443940008; Mon, 24 Oct 2022 13:03:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 4C414940007; Mon, 24 Oct 2022 13:03:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 3B372940008; Mon, 24 Oct 2022 13:03:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0010.hostedemail.com [216.40.44.10]) by kanga.kvack.org (Postfix) with ESMTP id 29A68940007 for ; Mon, 24 Oct 2022 13:03:11 -0400 (EDT) Received: from smtpin14.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay05.hostedemail.com (Postfix) with ESMTP id D53AB40C94 for ; Mon, 24 Oct 2022 17:03:10 +0000 (UTC) X-FDA: 80056463340.14.144EC52 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by imf27.hostedemail.com (Postfix) with ESMTP id 53A3E40028 for ; Mon, 24 Oct 2022 17:03:09 +0000 (UTC) Received: by mail-pj1-f42.google.com with SMTP id f5-20020a17090a4a8500b002131bb59d61so1603522pjh.1 for ; Mon, 24 Oct 2022 10:03:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=UHZiogCmLEgrbZXwJ4SEXDeSCsbCBF+dnczglI3cIkM=; b=sEQVGyQo1/arLcVxRdbmqumBoLZlEoaRGU98AbrWJcdVV0t+dEc9Z24GdWE/WV7In1 AE4gEUEiPE4c3VkfnSv6pEgFvGDdxkr7c9MirUydBKdF4QQovTJLGnWGBmLd8YDtOhUB 99q5rwuNFx5y5V/0aWmha159w/MxzY7D/ahKrN1Qo3ZAjK0FJxNLn7TkS96CWY0ip9ju dbAoR3YJFnWgDj3QWPbENXdZQ9YztekqjsySuaeoYSigtP3pPU6Yz9P5RcDDb9WZdRgv X1Y2J3s7sMuGhu+aoJQWykidxIcUiYFmYfEq/K7nRWQXpVG3IzOT13t+G4sfUa6OIvne Da/w== X-Gm-Message-State: ACrzQf0l2x7FUbZ1vOQNZLHrUnvbjw5FxDUOmadNINTxXlS8M5OsZI21 SsgZaiEiis7hGP5220OF38s= X-Google-Smtp-Source: AMsMyM7CMNNidB9v2x1XBYXmR7tlmfi1ln27OafIvYRQdns+rLF+U5tvIFSJAKQw4P04a/8kDRIX0g== X-Received: by 2002:a17:90b:3a90:b0:20d:a54c:e5cd with SMTP id om16-20020a17090b3a9000b0020da54ce5cdmr66852951pjb.183.1666630989080; Mon, 24 Oct 2022 10:03:09 -0700 (PDT) Received: from fedora (136-24-99-118.cab.webpass.net. [136.24.99.118]) by smtp.gmail.com with ESMTPSA id m126-20020a632684000000b004588814ca73sm5872pgm.21.2022.10.24.10.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 24 Oct 2022 10:03:08 -0700 (PDT) Date: Mon, 24 Oct 2022 10:03:06 -0700 From: Dennis Zhou To: Baoquan He Cc: linux-kernel@vger.kernel.org, Tejun Heo , Christoph Lameter , Andrew Morton , linux-mm@kvack.org Subject: Re: [PATCH 7/8] mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS Message-ID: References: <20221024081435.204970-1-bhe@redhat.com> <20221024081435.204970-8-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221024081435.204970-8-bhe@redhat.com> ARC-Authentication-Results: i=1; imf27.hostedemail.com; dkim=none; spf=pass (imf27.hostedemail.com: domain of dennisszhou@gmail.com designates 209.85.216.42 as permitted sender) smtp.mailfrom=dennisszhou@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none) ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666630990; a=rsa-sha256; cv=none; b=e57ec4UV07XOSLc1GoMDcO6ZalMWr8KyWztkXbqti71DcuCWMNC+4XhUIP37jFtcM8SHaC IcneA7qqKJipL4Q34Rm4pdVLKEFead2LwgHbJKqIMDffLpvyVH5lfAHvKYf34IqQdElfFh BKy4odiwmMcfaxkgU1HmmpLIyF4UbMs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666630990; h=from:from:sender: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: in-reply-to:in-reply-to:references:references; bh=UHZiogCmLEgrbZXwJ4SEXDeSCsbCBF+dnczglI3cIkM=; b=0NkarrIBOfCowldl/qZog0wzCGVRtCC6Yv+8NixGYbsrwRnNCIQVKF4xDSCPy4r3lb2wDA JdekaSEXmp2i/jYBpjwSAUFh5olS/2qqHvZcdST2J4vwUiKPRKzyq2FzaaJlKWZhpYV04m sesWkfglzBw0895X00/HFOeeITAx0r4= X-Rspamd-Queue-Id: 53A3E40028 Authentication-Results: imf27.hostedemail.com; dkim=none; spf=pass (imf27.hostedemail.com: domain of dennisszhou@gmail.com designates 209.85.216.42 as permitted sender) smtp.mailfrom=dennisszhou@gmail.com; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=kernel.org (policy=none) X-Rspamd-Server: rspam02 X-Rspam-User: X-Stat-Signature: o8rjjyopmrg4mrc8q5edfku1npoiboh6 X-HE-Tag: 1666630989-835142 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Mon, Oct 24, 2022 at 04:14:34PM +0800, Baoquan He wrote: > Since commit 40064aeca35c ("percpu: replace area map allocator with > bitmap"), there's no place to use PERCPU_DYNAMIC_EARLY_SLOTS. So > clean it up. > > Signed-off-by: Baoquan He > --- > include/linux/percpu.h | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > > diff --git a/include/linux/percpu.h b/include/linux/percpu.h > index f1ec5ad1351c..70bc17db00a6 100644 > --- a/include/linux/percpu.h > +++ b/include/linux/percpu.h > @@ -37,11 +37,10 @@ > /* > * Percpu allocator can serve percpu allocations before slab is > * initialized which allows slab to depend on the percpu allocator. > - * The following two parameters decide how much resource to > - * preallocate for this. Keep PERCPU_DYNAMIC_RESERVE equal to or > - * larger than PERCPU_DYNAMIC_EARLY_SIZE. > + * The following parameter decide how much resource to preallocate > + * for this. Keep PERCPU_DYNAMIC_RESERVE equal to or larger than > + * PERCPU_DYNAMIC_EARLY_SIZE. > */ > -#define PERCPU_DYNAMIC_EARLY_SLOTS 128 > #define PERCPU_DYNAMIC_EARLY_SIZE (12 << 10) > > /* > -- > 2.34.1 > Acked-by: Dennis Zhou Thanks, Dennis