Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3209830rwb; Tue, 8 Nov 2022 01:43:35 -0800 (PST) X-Google-Smtp-Source: AMsMyM5r59rgpuagxq1qu3M7cjGgFmDTbnYXuX1OURRsnQVDWV9jahKxXurMFUWYojQOoDrybjCt X-Received: by 2002:a17:906:6a13:b0:7ad:b598:9a52 with SMTP id qw19-20020a1709066a1300b007adb5989a52mr51767854ejc.205.1667900615476; Tue, 08 Nov 2022 01:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667900615; cv=none; d=google.com; s=arc-20160816; b=DG2ZjainfjBU5VtoDAGBBShnRVMr6fXtgyG5+fK6Iggcah9qGl8+zkXtjpocNmJ66x PlJ0VEuqq+zDD4RdS0uyDH5jpERFN1OZ3fL94PlucsVrSkL8X9yhZiUy0EIjzzpK89yQ E4eFOKzVZDHXGboUMYJ4jLaIL6MutGLAv6nOBmVA4B3q0RDHcNl1dJPn4QJOUdyR8rDJ 3Dtp3wCUjUCkCg/tOI1cBYFnQmYOKamLjgO06VaD8DChSTyzz9fZh0sJhGfgJX7j/wTg tmkHZa7b1msIG7IwOz3hx8MdMqUKspSGP9/Vcadz6IUcMNy0/KVLKbs6GFeA2jTFvsaK EVCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=jl974esNqwVUZQrdA0rwXdnfcsjrzYfR8j0D0GOI1RI=; b=x+/PGaQMRopKeEjUpzqXIooEsRJhLVC6O1FN2/N0ChnfBYkkFR5mn4VGdDSCN/AfEK Uu0vBiyOhC0EDdIjgUilxuG+ylYwIcJf9u3guIVFNXV97G3s8Ix9uU3tgMbXTTyzGWDQ 8zBYj36UuwZ0+VmwnVpEz8SfKechJIFyYN3Zam1msCRrUOjCBB7t6qtXU7OayrBxu2Bm 6fCm0xEyvLJR/q9PTTZABIY+oVsCLSSXNAPVQeB1O8/XNC6dfLPpV4zRqtSiP3YyTLDb LcE3DhNZa4/VfhI4aNaDmQ/c0GRLJJQsxHjKQyKb/Za/ynV9122X7PPGC0DJ5md387XX 7e1A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=cSmwj5ro; 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 n19-20020a170906165300b00711da52c6e4si8864882ejd.309.2022.11.08.01.43.07; Tue, 08 Nov 2022 01:43:35 -0800 (PST) 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=cSmwj5ro; 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 S233679AbiKHJPi (ORCPT + 89 others); Tue, 8 Nov 2022 04:15:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233696AbiKHJPf (ORCPT ); Tue, 8 Nov 2022 04:15:35 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A743DDE96 for ; Tue, 8 Nov 2022 01:14:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1667898874; 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: in-reply-to:in-reply-to:references:references; bh=jl974esNqwVUZQrdA0rwXdnfcsjrzYfR8j0D0GOI1RI=; b=cSmwj5roDXhCuWOEsw1bPNXwguqLSFwuHlpwvKEF7towsArvaryPIsZRWXyfSRyC5Af8+n anfjMDcJhtakBlrgFuegh0BFJB8QCOLw22PBj3UQOwTJcSgUaJyea3WD9llkfKKVTAsja/ T906GPJvo+JKSaPsAQn2JveefNFBED4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-e9woTgahPpiqsG8pax1m-A-1; Tue, 08 Nov 2022 04:14:24 -0500 X-MC-Unique: e9woTgahPpiqsG8pax1m-A-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 C745085A583; Tue, 8 Nov 2022 09:14:23 +0000 (UTC) Received: from localhost (ovpn-12-86.pek2.redhat.com [10.72.12.86]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0D66B40C947B; Tue, 8 Nov 2022 09:14:22 +0000 (UTC) Date: Tue, 8 Nov 2022 17:14:19 +0800 From: Baoquan He To: Dennis Zhou Cc: linux-kernel@vger.kernel.org, Tejun Heo , Christoph Lameter , Andrew Morton , linux-mm@kvack.org Subject: Re: [PATCH 0/8] Cleanup and optimization patches for percpu Message-ID: References: <20221024081435.204970-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Spam-Status: No, score=-2.1 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 On 11/07/22 at 11:05pm, Dennis Zhou wrote: > Hello Baoquan, > > On Mon, Oct 24, 2022 at 04:14:27PM +0800, Baoquan He wrote: > > These were found out when reading percpu code, and queued in my local > > branch for long time. Send them out for reviewing. > > > > Baoquan He (8): > > mm/percpu: remove unused pcpu_map_extend_chunks > > mm/percpu: use list_first_entry_or_null in pcpu_reclaim_populated() > > mm/percpu: Update the code comment when creating new chunk > > mm/percpu: add comment to state the empty populated pages accounting > > mm/percpu: replace the goto with break > > mm/percpu.c: remove the lcm code since block size is fixed at page > > size > > mm/percpu: remove unused PERCPU_DYNAMIC_EARLY_SLOTS > > mm/slub, percpu: correct the calculation of early percpu allocation > > size > > > > include/linux/percpu.h | 7 +++---- > > mm/percpu.c | 44 +++++++++++++++++------------------------- > > mm/slub.c | 3 ++- > > 3 files changed, 23 insertions(+), 31 deletions(-) > > > > -- > > 2.34.1 > > > > > > I've applied patches 1-7 to for-6.2. Thanks a lot.