From patchwork Mon Oct 24 08:14:28 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoquan He X-Patchwork-Id: 13016809 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 D9690C3A59D for ; Mon, 24 Oct 2022 08:14:53 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 73E208E0003; Mon, 24 Oct 2022 04:14:53 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6EE1E8E0001; Mon, 24 Oct 2022 04:14:53 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5DDC58E0003; Mon, 24 Oct 2022 04:14:53 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 4D1FE8E0001 for ; Mon, 24 Oct 2022 04:14:53 -0400 (EDT) Received: from smtpin12.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay10.hostedemail.com (Postfix) with ESMTP id CAA0DC09A7 for ; Mon, 24 Oct 2022 08:14:52 +0000 (UTC) X-FDA: 80055132024.12.9B1A067 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by imf21.hostedemail.com (Postfix) with ESMTP id 811CA1C0006 for ; Mon, 24 Oct 2022 08:14:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1666599291; 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=fYXvzuBwfl2yR9fytxTERCo4p5drN8cS4tTENtuweQ3+oYIVV1YzvTLIt9ZcLLgdGHPjp0 6IatHz4BZXU+Pgvlk+xkeAOExz7Rl4uUPEyqo1diZjiiLV+gUnIWNdET602uvJKf/ENEnI NmFkJT3FOIItXYEEEr8bGaWWoxNZNdM= 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 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1666599292; a=rsa-sha256; cv=none; b=Gg5ayhUTou4ib2WCPzZiOTl/V9a8ZM3s/iFTSuAk4r0y06x7dH/pQih1UCnwhKZnh7LokA 3Zn/FxWQaDKsZfcGens/xYDTA1A+HTic17imWLUxuxKBeCb5mZClYxb1lFlBhlp7nzL9WH IgpD8L3rDfeGplbDzV4s8EKyA68dA3A= ARC-Authentication-Results: i=1; imf21.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=fYXvzuBw; spf=pass (imf21.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1666599292; 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:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=AT64JPjijrBa4KylaT1nTk9WXXduaxRTtCv2wVwy4QE=; b=VZHywg9rqDzaMfZTfkAUZBsCPiCkKZ/erhpvpVh2jwzx7EG4wYw5iz2oSN5306PZr80p8p DzeerrLos8NwU4dvsVi9SiGmTxuKmNl6mxXtZ1A9i1MaCC7tjd6hOGNbZ0OqGjo9UBTvR1 3o4vZC4n2DloCLBlygT885NwDfnKRKE= X-Stat-Signature: sccemied38fg5k4zbggfuag6dmp84mcm X-Rspamd-Queue-Id: 811CA1C0006 X-Rspam-User: X-Rspamd-Server: rspam03 Authentication-Results: imf21.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b=fYXvzuBw; spf=pass (imf21.hostedemail.com: domain of bhe@redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=bhe@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-HE-Tag: 1666599292-612112 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: Since commit 40064aeca35c ("percpu: replace area map allocator with bitmap"), it is unneeded. Signed-off-by: Baoquan He Acked-by: Dennis Zhou --- 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.