From: Miaohe Lin Date: Mon, 4 Jul 2022 13:21:59 +0000 (+0800) Subject: mm/huge_memory: correct comment of prep_transhuge_page X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d764afedfb04e4eaf04b175c5ac54ffa4a423070;p=linux.git mm/huge_memory: correct comment of prep_transhuge_page We use page->mapping and page->index, instead of page->indexlru in second tail page as list_head. Correct it. Link: https://lkml.kernel.org/r/20220704132201.14611-15-linmiaohe@huawei.com Signed-off-by: Miaohe Lin Reviewed-by: Muchun Song Cc: Matthew Wilcox Cc: Yang Shi Cc: Zach O'Keefe Signed-off-by: Andrew Morton --- diff --git a/mm/huge_memory.c b/mm/huge_memory.c index b6d915f24909a..f3f3e4b5a3ab3 100644 --- a/mm/huge_memory.c +++ b/mm/huge_memory.c @@ -581,7 +581,7 @@ static inline struct deferred_split *get_deferred_split_queue(struct page *page) void prep_transhuge_page(struct page *page) { /* - * we use page->mapping and page->indexlru in second tail page + * we use page->mapping and page->index in second tail page * as list_head: assuming THP order >= 2 */