[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <dbcc4b24-050d-d08b-772d-a24ffbf38dc1@huawei.com>
Date: Fri, 4 Aug 2023 16:22:57 +0800
From: Miaohe Lin <linmiaohe@...wei.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-mm@...ck.org>
CC: <linux-kernel@...r.kernel.org>, Mike Rapoport <rppt@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>
Subject: Re: [PATCH] mm: no need to export mm_kobj
On 2023/8/4 14:43, Greg Kroah-Hartman wrote:
> There are no modules using mm_kobj, so do not export it.
Yes, there's only in-kernel user left.
Reviewed-by: Miaohe Lin <linmiaohe@...wei.com>
Thanks.
>
> Cc: Mike Rapoport <rppt@...nel.org>
> Cc: Andrew Morton <akpm@...ux-foundation.org>
> Signed-off-by: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> ---
> 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;
>
Powered by blists - more mailing lists