Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp640165pxb; Thu, 17 Feb 2022 11:22:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJwWEFB9tIQMDJE3YTmUF12PhwYFDtKh63DQqpdZAUqzN2gNeww15Da9PdZQYjCvfXb6dNHt X-Received: by 2002:a63:1d0f:0:b0:365:7d07:ac44 with SMTP id d15-20020a631d0f000000b003657d07ac44mr3537638pgd.526.1645125735590; Thu, 17 Feb 2022 11:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645125735; cv=none; d=google.com; s=arc-20160816; b=RzCMRgzPx48AvQMGhgViKujKH3+wIMrl65g8ldYn1qFJM2pPmIoN8ve/O8m1ZyoCZE yUB/CwkEgmCAzg9DTeUa0R3hjVP4whXXfbQwDmjLaUOVJiU4DH3cGP0I4tJLNQxBuQdQ O7aFubzweve6LgY5vitgZ3PLNrO69TPgPwi+ZTOzTKtkyysAsMCHJPA64q3+/zqjKsLb 0I4lgLvFMySxgnhP3YvmiJs80gXRQCmvooscW6Lv83jDsURgVYWBhLcqFiTZN/ggiiDg DT/TKzDz496zXXw0z7Y8PboRJKgCB0XLhnfip8zQm1k5ipm7HpvGQXPssRAx22QUvWkc gQ3w== 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=VK2nux5RHN6KMN8bSVV8IsO2fMmx1fTQS8HPOBSHkY4=; b=dcy4yRTPOiaI8A6Zipii9/FSYM2X0Nr20k53nHZobazjghZqrjdwbd6O8wGaRL3map FcJKsVFJ9ibV4145w7GVfPoh6Gbadb+KXQELuEqam9vr2CbYMaclPXT8IE/n2B8QtpfJ 03AYx57nlVI6cuFSUkk0Zg30AZnapB6UAzF/jGWqyw4B4MwGODCrXeiMRyp6iVEFHQjR w/1MAlPD/TSg/vZKtpQYegYPp/08akWt95vYHP7K0dyh6vWKm929dLXuaLMePToJJ3Dk d2J0F1iOa2GnO2gC/3trmExr1jjARpUyD/mZPjVDF94EDjZjEN3uAt2qOGlMrd0UGOLr 3ZxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=BIGYjILd; 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 j125si574774pfd.42.2022.02.17.11.21.59; Thu, 17 Feb 2022 11:22:15 -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=BIGYjILd; 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 S244377AbiBQS1E (ORCPT + 99 others); Thu, 17 Feb 2022 13:27:04 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:42048 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244431AbiBQS07 (ORCPT ); Thu, 17 Feb 2022 13:26:59 -0500 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 203737654 for ; Thu, 17 Feb 2022 10:26:45 -0800 (PST) Received: by mail-pg1-x530.google.com with SMTP id s16so5709229pgs.13 for ; Thu, 17 Feb 2022 10:26:45 -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=VK2nux5RHN6KMN8bSVV8IsO2fMmx1fTQS8HPOBSHkY4=; b=BIGYjILdasy5CZOwOqXMMFIvAgSVOMFlSCUzTzn3XXd2zNZOhPTgezNICCDJn/mLox nwCRFHWXCyUjVuZPE3P2WeABcdBE6aJoNJmpc04gVb5q5f9bUOuwNTq6NvSEQYpv82Xd 7GDS+F74Rg+6pAeMGKALjIQgVJU8/u4Oc/S0Yy7tdPGkQUda4gDKOiDxFQeEGxpNP2u2 JoZSPWRpoItrMpPgK6DOzopVGz06OY0L1rDSsKUgP1bByz5V7SDJHYBxNIhxjsTdQJKL cOm6nYr8dusJb0rOLoGCMbFpn8U8E3SYLHOHfPkNhvGmOSm64U/YR9YZZAVgHXXjWA57 +Zhg== 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=VK2nux5RHN6KMN8bSVV8IsO2fMmx1fTQS8HPOBSHkY4=; b=73oBE8Ky64y4AAkj5lYqX7bU2RUvbZjPz0bTd9F6/ekbh66JYxdaZmzQqsLiqdsXPd NoZaCjcKBLcSSyQ6j66Rc0pqspl2YSjmrLqM1miWWVOQ7qzVDMv2G1nPoO7VMhgr3PiL kJkAKgnGYlDn8l14ZMjnwODdrhi2HA3o5lZhO+MsEH05LZIkf6ah7kIOaIgS/ij9R/pR 2oWaomgP5+b8DuJxHuXf11PKX3Q0V2r/iBx6Lwv/iNP+smszRtb070K28AFH1Ig8TmzR bIZt5EKnOku1IJ1Ca3++1ij3DQXTyLoEegr0cH2k5JhcX/CIe//OnkUGZ8YIKlaKXLiC ShoQ== X-Gm-Message-State: AOAM531/FmTCn3xJlraYFDWp68vJb/pUzZg6D+KsQy/1pua/BVR+5Utu qjXXcNLXu256hw1/c0piTc9Ppg== X-Received: by 2002:a63:d47:0:b0:373:598c:e0aa with SMTP id 7-20020a630d47000000b00373598ce0aamr3385706pgn.243.1645122404388; Thu, 17 Feb 2022 10:26:44 -0800 (PST) Received: from [2620:15c:29:204:d97c:650c:cf98:ec43] ([2620:15c:29:204:d97c:650c:cf98:ec43]) by smtp.gmail.com with ESMTPSA id s11sm333587pfk.8.2022.02.17.10.26.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Feb 2022 10:26:43 -0800 (PST) Date: Thu, 17 Feb 2022 10:26:43 -0800 (PST) From: David Rientjes To: Miaohe Lin cc: akpm@linux-foundation.org, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, vbabka@suse.cz, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/slob: make kmem_cache_boot static In-Reply-To: <20220217085842.29032-1-linmiaohe@huawei.com> Message-ID: References: <20220217085842.29032-1-linmiaohe@huawei.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 Thu, 17 Feb 2022, Miaohe Lin wrote: > kmem_cache_boot is never accessed outside slob.c. Make it static. > > Signed-off-by: Miaohe Lin Acked-by: David Rientjes