diff options
author | Miaohe Lin <linmiaohe@huawei.com> | 2022-07-04 21:21:59 +0800 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-07-17 17:14:46 -0700 |
commit | d764afedfb04e4eaf04b175c5ac54ffa4a423070 (patch) | |
tree | 834e4afd129d067b0c9b20cfbaaadc393e58b078 /mm/huge_memory.c | |
parent | 121c1781aeb00475d163246d9ae7d8746e377040 (diff) | |
download | linux-d764afedfb04e4eaf04b175c5ac54ffa4a423070.tar.gz linux-d764afedfb04e4eaf04b175c5ac54ffa4a423070.tar.bz2 linux-d764afedfb04e4eaf04b175c5ac54ffa4a423070.zip |
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>
Diffstat (limited to 'mm/huge_memory.c')
-rw-r--r-- | mm/huge_memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/huge_memory.c b/mm/huge_memory.c index b6d915f24909..f3f3e4b5a3ab 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 */ |