Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp3085824rwb; Mon, 7 Nov 2022 23:50:48 -0800 (PST) X-Google-Smtp-Source: AMsMyM5LxMt30dT3Qrob+XJtBVMtxYJ+AgVkv1sOCb+gsZRkPM3yiW0fEgORJebDFoJIZTRPgEUD X-Received: by 2002:a17:90b:1c8d:b0:203:cc25:4eb5 with SMTP id oo13-20020a17090b1c8d00b00203cc254eb5mr56227065pjb.132.1667893848506; Mon, 07 Nov 2022 23:50:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667893848; cv=none; d=google.com; s=arc-20160816; b=qEMzOL/pazvUwQKBPvOPeE8LTHalIX2KUTZ7VzMoNedsR8ypqGD7GIxN/7FY/mwdaA LHozk0XrhYhLZgFQayp32+XfYgy6fuXU2uPK2TIotteo32rMZ41IIjpKoOTGTTnFvpff 2GpZ5WkJ9N+YB2AhYW7jY2lGe7Dunb8DGq57nkcNig6TINJ8j1DuG8ikpsaT6vbmxZKM JwAGo5T/BIqcU3aaSowVNOpib2tcWcP/ZIS8b3Vh3Dmp9T0391+0Pm4VW7U3/rGusnES CF9bcXKuR+c4fpOfhMV+hzkwj6IsaHT0U+FRpyfRKKtcwyiZGSC3xL5qJZG4gt0W2hs8 AeAA== 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; bh=RgUztr1FPkYMtGAcAUkcMTH2+l5bzJxJ8ksi2QtEabw=; b=CmMh6LLfMGQQL0NgWcrN7juO5ZBxSwlOaT2AbqazIYCSmN9/Wz1QIGr3om3WB3YZ0x iAZEmLf9Vzn//B1ReV8aVDHmo0PELp2DGP1pwlDlGe1s+GUqNmq8EanSFy55nOLY+LKR lh39YT181SDH1mp4A2KzbiA8Wf5/pHjBvnfWVglW5F867g+p8jWW3NRfsQ41fX7c1v2W TBpLkV7BKUMPaLdbiJgC188VtqTD+mLiaJ5WNRxiROMFgk1FqN4gJgg5zxB9diqFulvP +D2H9hlxacuMvH1G11k5xy9fW/kgobJV4bUoeIh8Py1ukOyEFH5Rk2HEE3iWjz0dMq/P TY2g== ARC-Authentication-Results: i=1; mx.google.com; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u68-20020a637947000000b0043a20d3388esi14530859pgc.321.2022.11.07.23.50.35; Mon, 07 Nov 2022 23:50:48 -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; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232911AbiKHHFW (ORCPT + 91 others); Tue, 8 Nov 2022 02:05:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbiKHHFU (ORCPT ); Tue, 8 Nov 2022 02:05:20 -0500 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A3477DFEF for ; Mon, 7 Nov 2022 23:05:19 -0800 (PST) Received: by mail-pg1-f177.google.com with SMTP id 136so8773047pga.1 for ; Mon, 07 Nov 2022 23:05:19 -0800 (PST) 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=RgUztr1FPkYMtGAcAUkcMTH2+l5bzJxJ8ksi2QtEabw=; b=n3jmX9wlUeuxE0iaEBgyCFGRJ0/Yl4UQS4wsnlufHSOzKaaOSiEeRuz4RRhmnziM5q nWrYKqQoVlNqvAQYEALwmek2f1AyrxXXqeXNujjL56eAykQWqxm28cTrWj5n/peI+ddS nmS+KwvPMQu6sGr3Jo/6lzXmSg1iDMw2DiqieMiIdaD4zF6D6apgWFH8Rggvk+9EWH6u zlG63rYQYJI8aVM4Wuf3SH9XV88XFlIDn4IsIvE2tKdlN2eHTJvzEPXmzlMk3Hpxa4cz f6HTpiaMnWqvB3OZMcROtcIyPMQVvs6BLyD0qvWuaONhiEgqz4D/K6rFJRylCEiHZY44 iFLQ== X-Gm-Message-State: ACrzQf1FQ8uZcIJdE5WDWlCOBAN7J8e3CoOvUcusuHt5hYY+l8cgkNpM 33/ostgZpL74N5Fjtw4hNVI= X-Received: by 2002:aa7:9298:0:b0:56b:b6dc:988a with SMTP id j24-20020aa79298000000b0056bb6dc988amr55054724pfa.5.1667891118976; Mon, 07 Nov 2022 23:05:18 -0800 (PST) Received: from fedora ([136.24.99.118]) by smtp.gmail.com with ESMTPSA id k5-20020a170902c40500b001886ff822ffsm6095316plk.186.2022.11.07.23.05.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Nov 2022 23:05:18 -0800 (PST) Date: Mon, 7 Nov 2022 23:05:16 -0800 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 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: <20221024081435.204970-1-bhe@redhat.com> X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no 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 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, Dennis