From: Vlastimil Babka <vbabka@suse.cz>
To: Yinan Zhang <zhangyinan2019@email.szu.edu.cn>, akpm@linux-foundation.org
Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mm: fix a comment
Date: Fri, 8 Oct 2021 16:10:16 +0200 [thread overview]
Message-ID: <2f54d5c5-213a-fdb4-aa54-eacd81a93a5c@suse.cz> (raw)
In-Reply-To: <20211008140312.6492-1-zhangyinan2019@email.szu.edu.cn>
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@email.szu.edu.cn>
Acked-by: Vlastimil Babka <vbabka@suse.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)
> {
>
prev parent reply other threads:[~2021-10-08 14:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-08 14:03 [PATCH] mm: fix a comment Yinan Zhang
2021-10-08 14:10 ` Vlastimil Babka [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2f54d5c5-213a-fdb4-aa54-eacd81a93a5c@suse.cz \
--to=vbabka@suse.cz \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=zhangyinan2019@email.szu.edu.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).