Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp636398pxp; Wed, 9 Mar 2022 09:31:47 -0800 (PST) X-Google-Smtp-Source: ABdhPJweegI2DAb4b1mzo/ShEdGHzsBXikXGq2nwW28zhAAuH552H9dmfUqtzuRRXj/zh8KKqdtq X-Received: by 2002:a63:1b09:0:b0:378:faa5:c63a with SMTP id b9-20020a631b09000000b00378faa5c63amr691344pgb.276.1646847107299; Wed, 09 Mar 2022 09:31:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646847107; cv=none; d=google.com; s=arc-20160816; b=DfcOMNc1d+V3uKVssfesKwbfMzAwNngxdUsFhlFSqAWpmJusqQlQ2BvacKt2gYu+ww agrF43OJULh+DYcs8eW6sz6QkRIWf/iLZTfaRbBveAS+5hOFlfrU1U5J4H1n+tQwcWUl AzoiJJ5uhYktO55T5YmalqcOV8Akv4i9NGC/eSd7BeipkPHiAMlWwU9hTwfFxyyuTG2G Us9n79spYAIcpYfcR9v+XbhGr2QkUMQs4vObfJ8eInwpkxtsCrUb59G2SSlPDfY2LoGB vgknCU6Dp9neIYq7IlbgfDwnFDGj0hybev6PsC6ZbjRw0VMMYPn0/GW6l1TXWXou6oS+ VVRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date:dkim-signature; bh=x1nQuY29Y8WhL6J/ZQu5YgDLTjawUkxAqLgbVJua3hY=; b=QNI5yBvbcyOCBydYH2pFeIVTzbiGfj9Zu5M7DhLzOEPskm58/O9CPyCjTtOsCZxKWb zXvFjiqQVRHIDFc1TAndTpx9PbZ2x72NR7JBIGqUqqCFQfAQKWA614uZn4Smr9W10KV9 8I12Chr1l85uBibEYi7wbR9wbFjHrPGJI3CUcHIV4/K4DRiPgSCGAazvO+RG+QBFk8CH vd8j7Sli5D+NfQNgcZvdeUX6j+C1m7Hn8mnyCWbPYT0H9Ql3EGPwLPi+RtcxZbUM9J9s ULo7lPlkxCMX/M1Q8HCuMawcncSMPWa0x+54NJ+/wsOqsDg3FlX3M/aozuxk7uyjb1p8 QKvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=sW6xLDpp; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l184-20020a6391c1000000b00380c3301402si1426831pge.299.2022.03.09.09.31.04; Wed, 09 Mar 2022 09:31:47 -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=@google.com header.s=20210112 header.b=sW6xLDpp; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235923AbiCIRSQ (ORCPT + 99 others); Wed, 9 Mar 2022 12:18:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237362AbiCIRRw (ORCPT ); Wed, 9 Mar 2022 12:17:52 -0500 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83E95E4494 for ; Wed, 9 Mar 2022 09:15:37 -0800 (PST) Received: by mail-pl1-x62d.google.com with SMTP id q13so2508215plk.12 for ; Wed, 09 Mar 2022 09:15:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=date:from:to:cc:subject:in-reply-to:message-id:references :mime-version; bh=x1nQuY29Y8WhL6J/ZQu5YgDLTjawUkxAqLgbVJua3hY=; b=sW6xLDppPgAPFHE5BJhZvgdkYn+WY0Ji7Xmi9c2jOR3aekaQcdWza1bBOoxTKPJbx4 gDOSeRfJHfPlyPtj7QtPuZpGSH4w02ej9y+1xQcvW18a3w/N9SA+nGUJHGqfG9FT9eF9 b+4avAihGmhYWOUHYCRCMIMdvFUcaFrg2l6TOXgXBKnLiPBQEX1ZmG+Rv3OIz7RoU5Ln WJ6nlgKvmPWLatydS+0fok6yAP0je1KGuIYSHTImr9fRO0x1yMo82WDj9XbhXDipvk/6 KFbDLXNjvmkAEXlETavF0Sm1/pR1rw3WJWerbEohhaQMkJV6hNTztj1vJ7nJRIAYjgGR W4BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:mime-version; bh=x1nQuY29Y8WhL6J/ZQu5YgDLTjawUkxAqLgbVJua3hY=; b=IN2HEKA31cl5iqt0bJpBxnfYFW67X7aOMxHy3bab0nBJg4gX6oPz5I1XDhftCK/lgN yS3p98GScpEkTkx1o4zY2Ney/R3C3wjWw5C78wbiBVlp4lOOXE8bfEPooyLf9TOEDe83 rG2qdIDKtHTcey2ks04PDxPg2DskGuWr+/tGNMojLUNMJpnkK4QCoeTlXDjZbmrdieI9 gu3xY2jaxjn6ScEjET7iaeKzzEyvVPxJtqilM7x4qLoyrAm5hrU/t+2i+IJ3VtkBQh9f wtK6Qp2FXK1jJZH4gY5qLGjbW9rtfsxa+mndmL3iBIk7kimqAaxrPQD9zTY6uvdOiXDx JjUw== X-Gm-Message-State: AOAM5300Ycs63ZCJzknG0LRt7AMMqhd1DQGmIri4OHwvQXn1DA0qEBn8 ZBIz6UwiZJtuwJ0gfAkpwgrfKQ== X-Received: by 2002:a17:903:3112:b0:151:a940:1574 with SMTP id w18-20020a170903311200b00151a9401574mr660489plc.63.1646846136818; Wed, 09 Mar 2022 09:15:36 -0800 (PST) Received: from [2620:15c:29:204:b5b9:5c22:b3dd:17a2] ([2620:15c:29:204:b5b9:5c22:b3dd:17a2]) by smtp.gmail.com with ESMTPSA id y16-20020a056a00191000b004e155b2623bsm3934224pfi.178.2022.03.09.09.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 09:15:36 -0800 (PST) Date: Wed, 9 Mar 2022 09:15:35 -0800 (PST) From: David Rientjes To: Matthew Wilcox cc: sxwjean@me.com, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, longman@redhat.com, guro@fb.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Xiongwei Song Subject: Re: [PATCH 2/2] mm: slub: Delete useless parameter of alloc_slab_page() In-Reply-To: Message-ID: <7c116655-a4ce-5f61-2d98-e85c31e11184@google.com> References: <20220309145052.219138-1-sxwjean@me.com> <20220309145052.219138-3-sxwjean@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL 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, 9 Mar 2022, 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"). > > Reviewed-by: Matthew Wilcox (Oracle) > Acked-by: David Rientjes