summaryrefslogtreecommitdiff
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-04 16:21:58 +0300
committerakpm <akpm@linux-foundation.org>2022-07-18 03:14:46 +0300
commit121c1781aeb00475d163246d9ae7d8746e377040 (patch)
tree568d8b74c41f19eda2f7cb945f488a75d2082894 /mm/huge_memory.c
parenta17206dac7b262e7abed5a05e34a6bd6bd0a9b06 (diff)
downloadlinux-121c1781aeb00475d163246d9ae7d8746e377040.tar.xz
mm/huge_memory: fix comment of page_deferred_list
The current comment is confusing because if global or memcg deferred list in the second tail page is occupied by compound_head, why we still use page[2].deferred_list here? I think it wants to say that Global or memcg deferred list in the first tail page is occupied by compound_mapcount and compound_pincount so we use the second tail page's deferred_list instead. Link: https://lkml.kernel.org/r/20220704132201.14611-14-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')
0 files changed, 0 insertions, 0 deletions