Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3931287rwl; Tue, 27 Dec 2022 18:24:43 -0800 (PST) X-Google-Smtp-Source: AMrXdXs00B4bUgi4buIfQJKSjb22r6Bwg119TVYEmdX74WPGTRocpbyKGNBe3mt3Vi13J0/h9EbB X-Received: by 2002:a17:906:c18d:b0:843:770e:777d with SMTP id g13-20020a170906c18d00b00843770e777dmr18073029ejz.11.1672194282816; Tue, 27 Dec 2022 18:24:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672194282; cv=none; d=google.com; s=arc-20160816; b=gN/O0VNn4Q51/BKob3dOuHuGkgb6fR/Yq2ltNAbSCLbweoRqVj0i1VbGBRZXiWGQxJ x39bPPRiMNQ9zZ0mBwgyY5Wlk9o5CnjE065OIwWk3VkzvQOySnm4+5BCP3EKiG6sSNv+ Dff3X1nweScwbl7+9g7K2Q0SFzjLnioGfZF/yMI94zcSpyZG2YjoiNvivvbxtk41hsPq hMpJZyY/J435phCDff7LsBznqaZi+EwewEENeghn0MqAzSy/2h5ehXBNHkA1C3gBRikG tga8Q4bjGdWUUfpEEmURSqiL7qzNfhLO7FBshPNUiurydj1khG1E0ZaaTigJk2Nvctb0 tMnw== 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=1VAg9I6sGgystoJ3TQ/I1KhSIRtbmfENt04grq0O1eU=; b=VkyrxIldannSGkp38J22s3sTjq+/x55Bc5bwxCjaCveq526GVRC3tfI5RqzBHcY3CD mkSbqiWHXX4hPUkYo5csNHs/veONF5X/oSVm7jCk4Tyba9G55tCNNzJabV5l2/8Hhmer wXUhsoe8Fzhgxhn4RQfw3j0IegMLJ3oazwtQXA8WHzAmqVGFYECC30OH1cyxBj8nAznU eYaPgi36Z+P0Dy60XbzmhzlQPD2ESzv9mpHkDT8FJ2JuGotbcme51bVvx/H/qvSBkMRH qL1ZbO4dXUxAuJu9HqotTvP/QaXC4eP8xOLnHWzKhZzAYZAdWg3d+xUEEAqzjkpNc1vM UXuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=ka7NTMQ0; 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 ne28-20020a1709077b9c00b0081a9c3ca4c3si13531885ejc.374.2022.12.27.18.24.26; Tue, 27 Dec 2022 18:24:42 -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=ka7NTMQ0; 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 S231167AbiL1BrG (ORCPT + 65 others); Tue, 27 Dec 2022 20:47:06 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232499AbiL1Bqn (ORCPT ); Tue, 27 Dec 2022 20:46:43 -0500 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61E8F8FF9 for ; Tue, 27 Dec 2022 17:46:42 -0800 (PST) Received: by mail-pf1-x433.google.com with SMTP id e21so283632pfl.1 for ; Tue, 27 Dec 2022 17:46:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=1VAg9I6sGgystoJ3TQ/I1KhSIRtbmfENt04grq0O1eU=; b=ka7NTMQ0c8GwGaYNC4TLnUyVjpW/DOHmjrxHXinFVEpU9D9Duc65ev4L/I5G73dWFo chfrWJakpcYJmHmRro4TIZeN1yLCHJb/DDm2nSOO4GLssDl7OCu1793DakqfQqVt/GN0 6mmm3+zJsoTSrWcARVMJNzTS6JnSpgk966ZpD+Vw5s7TTxvX0gV5PkvRUGT+1x75lnaR jSuEiVKum/kJ6BHwWnMwYKo40m+jhgnT4J48TJ06rTkYD/+fjnvOWcvA9thKZIIEnikH ndI2b7DduJ3WmXKQobI2rErE52wlocqfmB77yUXPlOIX7HoGskdAKk83uK5OMHrB6WJm Bt3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:references:message-id:in-reply-to:subject:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1VAg9I6sGgystoJ3TQ/I1KhSIRtbmfENt04grq0O1eU=; b=Cr1S7Tq2gTRDI2OPK98GfROZC3gcIN3ce1bN7sdnV9T1Eu/if0P9QJm0taDgkoaZPm UobRTuGTsPHBeruK/qdvuO9846drWU3jeOE/8+sM1gpzCaDGMUM40sJxgOxzKAYb+o3+ yz/f5p3/kJw5VKhot4ezPC0KqH4skE/zo4Rt7h1Ymuz9QM1jwqd6I8VDdUKa/3LquW2G YMXUSaZyUe6DvaBcTNqe9wGNJbS7lRM50bkUok5KGgC20/RVtZrvQLcBrlXu2fFywGn5 prhZB6zQ4VK+VQKkdAHqG0rS6vBOGQQ/bkOPZcR/2xTeKgDs0zadbzTMxjQSoQgK/CFa nG0g== X-Gm-Message-State: AFqh2kqvykC2EhrcIEoLa5aRzkSYcTrdelNR0n3gHprhSJ5oqRCxmiyL RI4FBHYSdXLs2ASkT8ZK6COhhQ== X-Received: by 2002:a62:6486:0:b0:576:22d7:fd9e with SMTP id y128-20020a626486000000b0057622d7fd9emr1989207pfb.0.1672192001796; Tue, 27 Dec 2022 17:46:41 -0800 (PST) Received: from [2620:15c:29:203:93f7:84:3b7b:8294] ([2620:15c:29:203:93f7:84:3b7b:8294]) by smtp.gmail.com with ESMTPSA id h135-20020a62838d000000b005754106e364sm9060069pfe.199.2022.12.27.17.46.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Dec 2022 17:46:41 -0800 (PST) Date: Tue, 27 Dec 2022 17:46:40 -0800 (PST) From: David Rientjes To: Gou Hao cc: cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, vbabka@suse.cz, roman.gushchin@linux.dev, 42.hyeyoo@gmail.com, keescook@chromium.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, mingo@elte.hu Subject: Re: [PATCH V2] mm/slab: remove unused slab_early_init In-Reply-To: <20221218123127.23810-1-gouhao@uniontech.com> Message-ID: <544c9bd1-c262-1915-de79-d6e00109eff4@google.com> References: <20221218123127.23810-1-gouhao@uniontech.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, 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 Sun, 18 Dec 2022, gouhao@uniontech.com wrote: > From: Gou Hao > > 'slab_early_init' was introduced by 'commit e0a42726794f > ("[PATCH] mm/slab.c: fix early init assumption")', this > flag was used to prevent off-slab caches being created > so early during bootup. > > The only user of 'slab_early_init' was removed in 'commit > 3217fd9bdf00 ("mm/slab: make criteria for off slab > determination robust and simple")'. > > Signed-off-by: Gou Hao > Acked-by: Hyeonggon Yoo <42.hyeyoo@gmail.com> Acked-by: David Rientjes