Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6454054rwi; Mon, 24 Oct 2022 01:21:54 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5bnkWmdNnzIUdK7LisY9X3ABloAtIVOpkR4owR+AIJcfGBqbeSEQlMAZS1Fw4ZzLyJCScQ X-Received: by 2002:a17:907:7f0b:b0:78d:c16e:e5fc with SMTP id qf11-20020a1709077f0b00b0078dc16ee5fcmr26994126ejc.713.1666599714563; Mon, 24 Oct 2022 01:21:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666599714; cv=none; d=google.com; s=arc-20160816; b=RzeyfD0P6SLsr5K1c5a+h3BP8cFcKZz7Vo3+1r0LstVKjYAjAy28PZXSzT2AEM/rs0 I/JRApk1zJUYp3xS9VKyN6CA4xR6mxw/rsFMWd0mkB6Xhel1O/pvnqpe6dgTRdqmw0bk 2EZhJj7LnoBhjSsopFXnd47IJYMabqgwVSsK/BPsPfnkEsmo3guTt4/9ckN2N/kyubQ+ IjSmZz9utWeLNRgmRfUlME8hTT11C4KMES0QKqMNDQjAL/BPgxKdThST7erfAq9f4w3z rKtgP2V6Awe0QOS8Sg3PaTyomgy9CJ9InEhH+BuEL5kDVW6F25dBdKW7eGpGhlIv2KZy YtOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AT64JPjijrBa4KylaT1nTk9WXXduaxRTtCv2wVwy4QE=; b=PutE0TSgpJ2OG0ZVmDf60aFmtDXn7f9WyDqSU21h1oh3ZU7vkE3OadyGEm2Vyk9K29 yFgmz1ZdOG4ObkVSavrdhSRR6egBiSkHEyA3cKTkEFi7mbYcIm4E54DV93BnmdjMSHb9 A3IT3UK7ltnZNCLd2gihT4PxlGmmU2or7CTx8d8JGZqWNMYpxhQJ4yD0KmYhJaP/wsC8 vtn9tPryZ0a6VL8qCRUjQiCwUZgtk1R7P9h/TIMlLNpKMRratzdcwfnkce7VWTvXEd3y GglTbNUZR9fnEJv2tHReLL/Wx3Yvc7NPSAx+N8+7XeOKf/8MELG86b7cVlcvT0uc6p0u GhXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AUMR4H9I; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t3-20020a056402524300b004615fad6144si8984152edd.40.2022.10.24.01.21.29; Mon, 24 Oct 2022 01:21:54 -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=@redhat.com header.s=mimecast20190719 header.b=AUMR4H9I; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230322AbiJXIQk (ORCPT + 99 others); Mon, 24 Oct 2022 04:16:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45200 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230260AbiJXIP7 (ORCPT ); Mon, 24 Oct 2022 04:15:59 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B29B33A09 for ; Mon, 24 Oct 2022 01:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666599292; 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=AT64JPjijrBa4KylaT1nTk9WXXduaxRTtCv2wVwy4QE=; b=AUMR4H9IEcg/RzzXZM8nxu/B7wkhJjeznn89DdTZJlcfQcqZS96Yd/mqfMPZrmpCBDxC4y ma2PO5zcvYKT/8IwWamm4M6hnPh6Tlx+NmaI+0IyfEcBlbLtYS06zwxYVYfX57NKH+TK07 WZHORlxn96te9g6rnuYqld+OAM/nusc= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-130-mSfA_UKmOI6tRH5XBi0jPw-1; Mon, 24 Oct 2022 04:14:48 -0400 X-MC-Unique: mSfA_UKmOI6tRH5XBi0jPw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ADB4B3C10144; Mon, 24 Oct 2022 08:14:46 +0000 (UTC) Received: from MiWiFi-R3L-srv.redhat.com (ovpn-12-35.pek2.redhat.com [10.72.12.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id 493A840C6F9F; Mon, 24 Oct 2022 08:14:42 +0000 (UTC) From: Baoquan He To: linux-kernel@vger.kernel.org Cc: Dennis Zhou , Tejun Heo , Christoph Lameter , Andrew Morton , linux-mm@kvack.org, Baoquan He Subject: [PATCH 1/8] mm/percpu: remove unused pcpu_map_extend_chunks Date: Mon, 24 Oct 2022 16:14:28 +0800 Message-Id: <20221024081435.204970-2-bhe@redhat.com> In-Reply-To: <20221024081435.204970-1-bhe@redhat.com> References: <20221024081435.204970-1-bhe@redhat.com> MIME-Version: 1.0 Content-type: text/plain Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_NONE 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 Since commit 40064aeca35c ("percpu: replace area map allocator with bitmap"), it is unneeded. Signed-off-by: Baoquan He --- mm/percpu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index 27697b2429c2..26d8cd2ca323 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -174,9 +174,6 @@ static DEFINE_MUTEX(pcpu_alloc_mutex); /* chunk create/destroy, [de]pop, map ext struct list_head *pcpu_chunk_lists __ro_after_init; /* chunk list slots */ -/* chunks which need their map areas extended, protected by pcpu_lock */ -static LIST_HEAD(pcpu_map_extend_chunks); - /* * The number of empty populated pages, protected by pcpu_lock. * The reserved chunk doesn't contribute to the count. -- 2.34.1