]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory: correct comment of prep_transhuge_page
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 4 Jul 2022 13:21:59 +0000 (21:21 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:14:46 +0000 (17:14 -0700)
commitee759a2dba74e8ded2d13b682038e38a8c58f834
tree834e4afd129d067b0c9b20cfbaaadc393e58b078
parenta158e80a80f5051dd2daebbf130ba88779214a9f
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 <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Zach O'Keefe <zokeefe@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c