From patchwork Fri Aug 4 06:43:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg KH X-Patchwork-Id: 130990 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:44a:b0:3f2:4152:657d with SMTP id ez10csp87851vqb; Fri, 4 Aug 2023 00:30:04 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH7QOjYxDL8mzWO7Nzx0zQwvOf6cqLrF2ymtgDQArJMIYNY467aSTQXiG4IbodFA2UJC3wP X-Received: by 2002:a17:90a:6f03:b0:268:6670:46df with SMTP id d3-20020a17090a6f0300b00268667046dfmr688662pjk.27.1691134203952; Fri, 04 Aug 2023 00:30:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691134203; cv=none; d=google.com; s=arc-20160816; b=bcDtW+3WaGPjAwTJOUL2gEUn8wUpO1jgW0tuqONYwLoXe68v1ahvxQ/NzLWdzVWMPz vL9UcPHgzOz7/TOJIN/9T3QmriT0/CyyXIVvLC/99NS0iotQIaqG53KX9OukznnF5n8P J62K8E1wUHxnnOgL18eJ2BhjNdReHtNOmLR00dXYzZb2TPHHFxKVzZhgfwxFgrmLx8Hd ZpCMcfPoIfqSe3Sd89/sirH66PYHUGWRDNhrhp97/4CBExrPmBtZ+VlGvm8i7AF0UNdv P/UsCWjsARNQdqvLjloDHYqkO/rlELH3AMhZiy422eqog2M+A9aP0lSKB8xls2eL5L48 vMOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:lines:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=rYnNnM1g4Vc9G1g+QSXLXBGMO7LWeL7qMdeK8RYm9Ic=; fh=KOPfwKFrrjdrt/P9PizmBoR5LjtuaQR9nnllxVz7M5Y=; b=eCeOBx0SLTOntuz7NAb36MBUX9/QmBbolNYpbYccyz5R2yHlZ7TjHzZoTd4BNhQCQJ fdTW5mjXWPAz//OixCLpPss5Am0DYum/USKSc7M8dnpnJK7YqCoHxO8oQV0WtrqSyYRy T6MpUIeehwI7vyR6BrM0Leeq5V+JCElBvv84TgGcS2kp0IFWHZFHGOgSuSLWiDY8V0GV GFfUb6Jz3G9Jn6yyP9GIdLwkVF9oPUnUCkHhP34lUx+Gl5YzuLa3JA9oiDFYYfcy13jD OyOAa8X5NNv7Pr9+dJLJ1x7O1zSJN9BDspWjvX7km49SGFaxoeHTmqUXxsM/eITzhfrF Waog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=CdgKgrMr; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g7-20020a17090a290700b002635643286fsi4632071pjd.133.2023.08.04.00.29.51; Fri, 04 Aug 2023 00:30:03 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=CdgKgrMr; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231962AbjHDGnp (ORCPT + 99 others); Fri, 4 Aug 2023 02:43:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229631AbjHDGno (ORCPT ); Fri, 4 Aug 2023 02:43:44 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77A6BB1 for ; Thu, 3 Aug 2023 23:43:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0894F61F43 for ; Fri, 4 Aug 2023 06:43:43 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F97CC433C8; Fri, 4 Aug 2023 06:43:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1691131422; bh=4rXtZPtL5oQZoxxNsOTexNzySBfq8KQl2Tp+f+M43vA=; h=From:To:Cc:Subject:Date:From; b=CdgKgrMr+e779lW8G7zOTJdGrnqImbZkRqYUEQZSNqdDk11RYdf5N7iqWvdfKDS4L I51ZJ/HWrZr6LSkwk7xstFAl8gWk7oap6Uykc+qysjOHAqXiI/2KsTTj7NbnfGUW9C LDquQBFOzE6OIPi7QppMq6dPE+f9yjPK8EhVAKDA= From: Greg Kroah-Hartman To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Greg Kroah-Hartman , Mike Rapoport , Andrew Morton Subject: [PATCH] mm: no need to export mm_kobj Date: Fri, 4 Aug 2023 08:43:37 +0200 Message-ID: <2023080436-algebra-cabana-417d@gregkh> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Lines: 23 X-Developer-Signature: v=1; a=openpgp-sha256; l=635; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4rXtZPtL5oQZoxxNsOTexNzySBfq8KQl2Tp+f+M43vA=; b=owGbwMvMwCRo6H6F97bub03G02pJDCln5kkab1xX61B1Jthu+6bgxwxmiar+5n8kl59tbr49c 8UyhsS8jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjID1mGBWvDKor1cw1ndDyP CDxgeEVxZsgjB4b5npMZMkOvesVecLFIOr3yQMz8ihsPAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773282739094355395 X-GMAIL-MSGID: 1773282739094355395 There are no modules using mm_kobj, so do not export it. Cc: Mike Rapoport Cc: Andrew Morton Signed-off-by: Greg Kroah-Hartman Reviewed-by: Mike Rapoport (IBM) Reviewed-by: Miaohe Lin Reviewed-by: David Hildenbrand --- mm/mm_init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mm/mm_init.c b/mm/mm_init.c index a1963c3322af..1c9d6f428906 100644 --- a/mm/mm_init.c +++ b/mm/mm_init.c @@ -154,7 +154,6 @@ early_param("mminit_loglevel", set_mminit_loglevel); #endif /* CONFIG_DEBUG_MEMORY_INIT */ struct kobject *mm_kobj; -EXPORT_SYMBOL_GPL(mm_kobj); #ifdef CONFIG_SMP s32 vm_committed_as_batch = 32;