[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2f54d5c5-213a-fdb4-aa54-eacd81a93a5c@suse.cz>
Date: Fri, 8 Oct 2021 16:10:16 +0200
From: Vlastimil Babka <vbabka@...e.cz>
To: Yinan Zhang <zhangyinan2019@...il.szu.edu.cn>,
akpm@...ux-foundation.org
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm: fix a comment
On 10/8/21 16:03, Yinan Zhang wrote:
> I have noticed that the previous macro is #ifndef CONFIG_SPARSEMEM.
> I think the comment of #else should be CONFIG_SPARSEMEM.
Right.
> Signed-off-by: Yinan Zhang <zhangyinan2019@...il.szu.edu.cn>
Acked-by: Vlastimil Babka <vbabka@...e.cz>
> ---
> mm/page_ext.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/page_ext.c b/mm/page_ext.c
> index dfb91653d..106079e67 100644
> --- a/mm/page_ext.c
> +++ b/mm/page_ext.c
> @@ -201,7 +201,7 @@ void __init page_ext_init_flatmem(void)
> panic("Out of memory");
> }
>
> -#else /* CONFIG_FLATMEM */
> +#else /* CONFIG_SPARSEMEM */
>
> struct page_ext *lookup_page_ext(const struct page *page)
> {
>
Powered by blists - more mailing lists