Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1485005pxp; Thu, 10 Mar 2022 06:24:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyaNLsd7KMv587eFu2F0VeQR+l3QEwn4pRqpUQbY5eGYYZd9XyDGLOViXPvVerb6jpW8HFm X-Received: by 2002:a17:906:3cea:b0:6da:ea45:ea9e with SMTP id d10-20020a1709063cea00b006daea45ea9emr4467706ejh.574.1646922280653; Thu, 10 Mar 2022 06:24:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646922280; cv=none; d=google.com; s=arc-20160816; b=PtpgYAUVWbDYl237hGi68E0pk7/B7UC0l7/0ltE1pjb1vb7gSnCsZeW807uhD8rOJp iFXpb9WfaA+RPzDlScPq7GAk0ZXHnoQaLE45yqgzOXNwFR1TU6wR+vCr2paF+qnv7yOl fgUHlDBZeCK4vpRabu+5kHm14BgXsYVsXTp4TVY0j8GuPumok4yx7T311Da4rB4Kel8j 1tbyyVNwO8EhW7dIoNU2N1YSOazPg4H0d56q31Mvt3FlcD3oCCd15ibIbdlk3Iy1jaed YHakrfo9wkKtJQlHxPpEgbFq2Vtb3Acw5U4NFpQVtyVMowrsTKUGCxBBoLSrqAQ1wWRK yZFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=J4hEHK6Zf1OckbrcPAbGgRaFqGZN8ERpSZRldjSg7T8=; b=GYBX3D7yo5IHeAUypl35svvWmOY4fiM0nFk0Iuv16jg6Asiq8ZaZLvp/vIRr47HzOd GMNZXEHAeG0WjwQJlYzQgq7NxRf7+9ZcX7aWFXt7Sb9oulVJekVGe4GGgyG5SBGBInLN AnbCKbbmNz4VYKWq6eDteIm3qa93qeCYWUWLdSw3YQhYgNDC+hlDl+XxqHeZhKTIROAd rEiSTrZBYNYa6HrMlu2GzxsZmBFpZVfLQF/EVZNtfkMzO61l6HPolBW9fj2shkv8RvBV eEAx2DFE6MG+onxW09Q30dfrg0udzVuXBSbENOUZSN+aZegAN8j1yYFFpiV1Dm/7tp0k ELMw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=TyPdmdqi; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id sa32-20020a1709076d2000b006da8f2ab6c3si3862750ejc.83.2022.03.10.06.24.16; Thu, 10 Mar 2022 06:24:40 -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=@gmail.com header.s=20210112 header.b=TyPdmdqi; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234973AbiCJBTW (ORCPT + 99 others); Wed, 9 Mar 2022 20:19:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56736 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbiCJBTV (ORCPT ); Wed, 9 Mar 2022 20:19:21 -0500 Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com [IPv6:2607:f8b0:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A28F41334 for ; Wed, 9 Mar 2022 17:18:21 -0800 (PST) Received: by mail-pl1-x62b.google.com with SMTP id 9so3491351pll.6 for ; Wed, 09 Mar 2022 17:18:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=J4hEHK6Zf1OckbrcPAbGgRaFqGZN8ERpSZRldjSg7T8=; b=TyPdmdqiekZ/n9d4Ed7fThBKKvMOiRXpDBhk6CRTb1CCdBbZsdfWVidPWd8lkBIlQt Bi9+tIghX0iKpdES4tS2LA7m4erzVJERrwWD6sSCN5IWzYALAa4XtoXTRpIn8cCoVHTn anQ8wi6VRV9z2fMzamLvqbFJZzmhj4hNl9Ne/Sqxdk3cAVLWqGdjeH9b2/NthE0ZezPL GzCixCaNGxZ185gA/obGKTBeM6YkTPF1pKDOOEIDD7SKc6Oh6lQfaMJ1zAtm1AMZXv5Z eXXktCwVVJEvXH1+tpO/TlGMZvHQusQu2JgfeT8mnB6KSfzdHKQGoJTZWuhN1O2YUthN Huzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=J4hEHK6Zf1OckbrcPAbGgRaFqGZN8ERpSZRldjSg7T8=; b=eOw/7ffFdmrKWnAcD3gf6PZ99Fe8hql1kMPln2QdFNVdUYJl+j/u15iRqclbhHWACA S3k7qQQiNFPT8YvQ0H/0jUKsdkU8sxYHWhrZrw6KaUd9fnnQ0rxUki3gtfXdZeERD6EI 5OHmKWSMYzz2N41A5MRl4iyHAtqoqbpB9kJxIpo+H7P/wXXAKBiFNARFleFOoEJU+I5O VuS2ESY7/jvo3LawB2meY/d/knT9rdM0Pfj6PwIdeLX24AUv+gGBt8EmoPyI364lAapn 9LDXwVWz4SWSuZJFOnabeOlIRz0+VZI7/JpQaAg9ayevYPg5xW3ra3uXD2cyVCvGkmVN 5NDg== X-Gm-Message-State: AOAM5326QQvzFVMsIbwQX0AqdNElEkbkirDm6bRDBmM4lkvtmNP4uaqp YZtBljPrAbviJPmsQPGa8qlWzBh+ztcD81brKl0= X-Received: by 2002:a17:90b:a41:b0:1bf:72b5:ae95 with SMTP id gw1-20020a17090b0a4100b001bf72b5ae95mr13350672pjb.110.1646875101000; Wed, 09 Mar 2022 17:18:21 -0800 (PST) MIME-Version: 1.0 References: <20220309145052.219138-1-sxwjean@me.com> <20220309145052.219138-3-sxwjean@me.com> In-Reply-To: From: Xiongwei Song Date: Thu, 10 Mar 2022 09:17:54 +0800 Message-ID: Subject: Re: [PATCH 2/2] mm: slub: Delete useless parameter of alloc_slab_page() To: Matthew Wilcox Cc: Xiongwei Song , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , Vlastimil Babka , longman@redhat.com, guro@fb.com, linux-mm@kvack.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Mar 9, 2022 at 11:29 PM Matthew Wilcox wrote: > > On Wed, Mar 09, 2022 at 10:50:52PM +0800, sxwjean@me.com wrote: > > From: Xiongwei Song > > > > The parameter @s is useless for alloc_slab_page(), let's delete it. > > Perhaps we could add a little more information here. > > It was added in 2014 by 5dfb41750992 ("sl[au]b: charge slabs to kmemcg > explicitly"). The need for it was removed in 2020 by 1f3147b49d75 > ("mm: slub: call account_slab_page() after slab page initialization"). Ok. Will update. > > Reviewed-by: Matthew Wilcox (Oracle) Thank you. Regards, Xiongwei