Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp481003rwb; Thu, 27 Jul 2023 16:20:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHoO5tfVcLN4e9wJ0TdoOAl5TJlP2cALFYTs9zkjdyKdLMUz/help0/g33Xo/nusy/eV0bi X-Received: by 2002:aa7:d40b:0:b0:522:37f1:5fd0 with SMTP id z11-20020aa7d40b000000b0052237f15fd0mr306893edq.5.1690500003215; Thu, 27 Jul 2023 16:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690500003; cv=none; d=google.com; s=arc-20160816; b=VCJJ5a3lw7YtCuWOKAoWpIRz0EYvASy6lk8fNvydSi4j4+Fb6EWW+skMkXBTWXQ1Qd 0sPELtXprIVAoG18YmDHddxeIvPO0vnGvsiyrq1z6L2KgG5Wct4dv76YVkmrimiW5QBD 8YunvZEh7TnXtEHcUMmnQPnFue8nZ0ah0xL3QS+4LgoPU2boBdpjcKtPMOSkIAKR7a+X kpGdRF+V9BtYYTdSHG0SQGZd9gLP93ppXfsnIp3HKmSjpd0sYgPKS++mPT4qxKsNiB43 YMcWPPbPowjuxBLq2Zdoi0z6SDStPr/9GhOK/Zr+m+7PY91trkkpAtcKiGb4uDm3ntpF X/8A== 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=3Ck3lyZGLf+F2YFdZHPFliqXqnqZBVSPAOZfVe+yCL0=; fh=YmJ1iUMfRSyWkFG++qcA8D6FYjlnldA+ddrk6xZRPQo=; b=oHaq8V/6RoP7x9RJQlTjk/PzNfZCAwRDBjUf7UdMVgg/5KJxnC/qPxwFfp90kljH+G pZK2CWdrz07b26oUQfwBXOI0jitOr2IqKgKWaQ1LBGezQ943FXJ3tbRNDA0ReOLPGahY UTM48bypiAbgmlzNdnS8qDvE2pHnNi//l8l6vzu/rXaibZT9se9dP8wmcHJOrwWCdRMN lZ0/y3Z3j873DeU2MBlxQ9RmzZ8qvILK6eWBcUHuB1Q8xvHm/th+7xTRXTUJe0d/y/FT 6ahcem+De+0p2ZkEu8mFuWJjEC0TpScZ7FGJ+0ex5wnLaDkiyXaTrTDDUhlcMtLrBI60 +p6A== 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 l14-20020aa7c3ce000000b005221e24afadsi1657535edr.83.2023.07.27.16.19.36; Thu, 27 Jul 2023 16:20: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; 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 S232985AbjG0Wua (ORCPT + 99 others); Thu, 27 Jul 2023 18:50:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232955AbjG0Wu2 (ORCPT ); Thu, 27 Jul 2023 18:50:28 -0400 Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE8971FCD for ; Thu, 27 Jul 2023 15:50:23 -0700 (PDT) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1b9c5e07c1bso12144435ad.2 for ; Thu, 27 Jul 2023 15:50:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690498223; x=1691103023; 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=3Ck3lyZGLf+F2YFdZHPFliqXqnqZBVSPAOZfVe+yCL0=; b=CEjw6VdDK77ZMNdqzGirYUNfbYCStqQ0HgD7r2vWjxj+fLkNCssVP61eGrmqFywo77 TCwi921IZ6Q62eYXf2+RsE3o9rEM7eXzUjpnwc4gFAOadUQEEG/cisgk3TxOz3ymNsZo iaYlwcagbMXxR+2xllzWZBUfo71E0FbUkT+ch25kF0vIK932nb0/pi8+bF2Z6r4mtjEz gb5P6WLqkJK8CxT9QC4GmTYIkTeeOa7mzANLg10MeOdB1evGPRDrk5ZXL+0gCaSK3Lpo f56OSYilVPVK/D/9YD3r1adI3VlffRjUqSBm68Ay7SBbwYltDU9wacEVHkODvn46XzUJ LTdQ== X-Gm-Message-State: ABy/qLYfw1Idoz9CI4fKftE0n9IOjDBp42TO+EhWFTRm4pP9NZs1QFtF YBLH41elyFj2O5MItpICrd8= X-Received: by 2002:a17:902:d3c6:b0:1bb:c69b:6f6b with SMTP id w6-20020a170902d3c600b001bbc69b6f6bmr634913plb.6.1690498223158; Thu, 27 Jul 2023 15:50:23 -0700 (PDT) Received: from snowbird ([199.73.127.3]) by smtp.gmail.com with ESMTPSA id a7-20020a170902ecc700b001bb20380bf2sm2160120plh.13.2023.07.27.15.50.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 15:50:22 -0700 (PDT) Date: Thu, 27 Jul 2023 15:50:19 -0700 From: Dennis Zhou To: Baoquan He Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, akpm@linux-foundation.org, tj@kernel.org, cl@linux.com, mawupeng1@huawei.com Subject: Re: [PATCH 0/3] percpu: some trivial cleanup patches Message-ID: References: <20230721131800.20003-1-bhe@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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,T_SCC_BODY_TEXT_LINE 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 Hi, On Sat, Jul 22, 2023 at 11:30:14AM +0800, Baoquan He wrote: > On 07/21/23 at 02:04pm, Dennis Zhou wrote: > > Hello, > > > > On Fri, Jul 21, 2023 at 09:17:57PM +0800, Baoquan He wrote: > > > There's a left issue in my mailbox about percpu code at below. When > > > I rechecked it and considered Dennis's comment, I made an attmept > > > to fix it with patch 3. > > > > > > https://lore.kernel.org/all/Y407wDMKq5ibE9sc@fedora/T/#u > > > > > > Patch 1 and 2 are trivial clean up patches when reading percpu code. > > > > > > Baoquan He (3): > > > mm/percpu.c: remove redundant check > > > mm/percpu.c: optimize the code in pcpu_setup_first_chunk() a little > > > bit > > > mm/percpu.c: print error message too if atomic alloc failed > > > > > > mm/percpu.c | 39 +++++++++++++++++---------------------- > > > 1 file changed, 17 insertions(+), 22 deletions(-) > > > > > > -- > > > 2.34.1 > > > > > > > Thanks for these. I left a few comments. I think I might have some stuff > > for v6.6, I'll figure that out in a couple days. If that's so, I can > > pull 1, probably massage 2 and send that out again, and then I think > > you'll need to resend 3. > > Sure, thanks for careful reviewing and great suggestion. So I only need > to send v2 of patch 3, right? Or I should change and send v2 of the > whold series? I may not get it clear. > Sorry for the delay. I've pulled 1 and 2 (reworded the comment). Can you please resend patch 3. Thanks, Dennis