Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp562300pxp; Wed, 9 Mar 2022 08:13:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJw+FBpXS2FZgnlGkNVlyGxHOI26nubaY5EfRgdAupa8q9b6PoOtRhd19xNxv8fEuHiCZFcM X-Received: by 2002:a17:907:971b:b0:6db:32b4:f262 with SMTP id jg27-20020a170907971b00b006db32b4f262mr502849ejc.522.1646842407166; Wed, 09 Mar 2022 08:13:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646842407; cv=none; d=google.com; s=arc-20160816; b=cAoHwky9j1KZUZ6SJYrNd4UfvqBjc9trz5bmYPAa/usEMGLIHL/Xp83VxWKde4FkBi 7wCq076RiBgG5Yvxxh7QcB8VGNXNlX0EkdfvMxYMQPTiMrMZZ0eqCuGrjLW0HHDrJVmO TkHqVzYFBypKzC8sdyvNPQ//XKtZyhmSb+eNRrgsDq77xzqc8Bo1hpBnk+5luuB+eo71 U5NUKQbFWS6kGoyC/rskyOHt7UkFyTz7b/JjGseTsfI4hmLPzW+igH3XXuTPUGc3GHWV hjTK6WUQPc223t06jgaauLQr6aZ83v3Fh7b+ieHXgm04r5IHHHXf2/zH+GZeonHk2ems e8ug== 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=5RgX5tZLSsAtO9xXtxg7N8PS6/VOcsvGlxTOVBEJBiM=; b=GWV7ONOpqA9DCQ8CK7k2y8LLOrbjtoW0y6ko0u+K3PqzHJDNXpPEnoq50jlXa5GiQz qBsjXMB+5vOqyWmNo5pUEI+TB6fjAPtoM/gkvAHMUH+iYQTkFu9h7PqIyXV7Vpucp9Tl Rl0a2h7e849vvzZqCvrKKxokaUqTUglBA/XYQX50NfAsw2j3WzNkFTGQw9g+sS/tEvht fvqT0+CksDFOGSrFxRw6YiHprIdo0WUbH7jiER/JmTXqaRAa1r7Kw4je8/B32YuX/bqo mbnb3I3X6qg/vtK8bjr/fKmKchGt+J9d7uTKeijke6MQjNZUfznRY2jNATJGTKyibikV s/bw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=IIm9rfkL; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hr41-20020a1709073fa900b006da63583c56si1623954ejc.624.2022.03.09.08.13.03; Wed, 09 Mar 2022 08:13:27 -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=@infradead.org header.s=casper.20170209 header.b=IIm9rfkL; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233462AbiCIPaO (ORCPT + 99 others); Wed, 9 Mar 2022 10:30:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232197AbiCIPaN (ORCPT ); Wed, 9 Mar 2022 10:30:13 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77F93D4C8D for ; Wed, 9 Mar 2022 07:29:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=5RgX5tZLSsAtO9xXtxg7N8PS6/VOcsvGlxTOVBEJBiM=; b=IIm9rfkLwI0uUdNY/9J8RWA0Mj MHDmjb4uDI+o59odgPocvlaFEGFxkzkdE0jg6Whr093gioLjaDo8EhFWiXjp9m29xSmxWV9gjHRBZ Ltj3327XbxYtmXa+lpV9PsOd8Bc4BSpZuGdyNYGOBEBGet6DvgQ3hwiaFgusrkBS4lNregjBX6B+p JWyMVASql6a7M6QxATsuSChFlxygafIlSkhO2Aqg8eJo4FS4kiujDeFkjq9CL1qJNW5Gm0BWEINrd ddQVsh5E2GdGyqTG59E3pNkuTg854nMNSpiWcJ3fFz/mItx4PishD+b+D1QYj8OJJ9OD0yKo6x+Ts VNhjlusA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1nRyF5-00HEaa-UG; Wed, 09 Mar 2022 15:28:48 +0000 Date: Wed, 9 Mar 2022 15:28:47 +0000 From: Matthew Wilcox To: sxwjean@me.com Cc: cl@linux.com, penberg@kernel.org, rientjes@google.com, 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() Message-ID: References: <20220309145052.219138-1-sxwjean@me.com> <20220309145052.219138-3-sxwjean@me.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220309145052.219138-3-sxwjean@me.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE,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 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)