Message ID | 20221024081435.204970-2-bhe@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp318111wru; Mon, 24 Oct 2022 01:21:03 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5OsCp8IT2RdPMx0d1vFds/m2cuAxqWT/3Dl/qfPcdqvjvjvhYl8Q1QyBok4gV+NqTj4saZ X-Received: by 2002:a17:907:a43:b0:77b:ba98:d2f with SMTP id be3-20020a1709070a4300b0077bba980d2fmr26983538ejc.270.1666599663604; Mon, 24 Oct 2022 01:21:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666599663; cv=none; d=google.com; s=arc-20160816; b=wol7x2cuMFy4h4MrTA7/CEwSsJr5HGegMnJqnzUwNfG52ufuMpJu+TbcLjVTZEWXvw zPrGzn3AeuCyN8jmZcxu4vYDW8Cz5hETDMMohjIsgHZ3A0Q8jvsmZ2hKE9H5a6xpSsip YGhZv4cU5C/PBp5gF4IIjhnP7qxAKP/uWtt3CkopkRARSynA3WtsoBpMq5AdfI4kYsEH UTYyFJ4BKMRvAElvPqRlIXeOifMDAaWy38rfzbtqYuQMwGc33sbaZOVKb4jvVfIUu2v4 oMCplRVkWIaE+3xa9723Nqs4WySSdqfHRA7ztC/6mMkJIh++B4D2vP6fCGhxsgm9h1Yv UViQ== 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 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.20.39; Mon, 24 Oct 2022 01:21:03 -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 <rfc822;pwkd43@gmail.com> + 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 <rfc822;linux-kernel@vger.kernel.org>); 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 <linux-kernel@vger.kernel.org>; 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 <bhe@redhat.com> To: linux-kernel@vger.kernel.org Cc: Dennis Zhou <dennis@kernel.org>, Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com>, Andrew Morton <akpm@linux-foundation.org>, linux-mm@kvack.org, Baoquan He <bhe@redhat.com> 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747556408745479753?= X-GMAIL-MSGID: =?utf-8?q?1747556408745479753?= |
Series |
Cleanup and optimization patches for percpu
|
|
Commit Message
Baoquan He
Oct. 24, 2022, 8:14 a.m. UTC
Since commit 40064aeca35c ("percpu: replace area map allocator with
bitmap"), it is unneeded.
Signed-off-by: Baoquan He <bhe@redhat.com>
---
mm/percpu.c | 3 ---
1 file changed, 3 deletions(-)
Comments
On Mon, Oct 24, 2022 at 04:14:28PM +0800, Baoquan He wrote: > Since commit 40064aeca35c ("percpu: replace area map allocator with > bitmap"), it is unneeded. > > Signed-off-by: Baoquan He <bhe@redhat.com> > --- > 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 > > Acked-by: Dennis Zhou <dennis@kernel.org> Thanks, Dennis
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.