]> git.baikalelectronics.ru Git - kernel.git/commit
mm/huge_memory: fix comment of __pud_trans_huge_lock
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 4 Jul 2022 13:21:48 +0000 (21:21 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:14:44 +0000 (17:14 -0700)
commit0afc7fbae3301728743071d96a85196e202cbc8f
tree20561cb739c0302906c72ac79a66f384ab242ff7
parent4ffefb2d457e08151ddcc1d6da3f149bc19b3076
mm/huge_memory: fix comment of __pud_trans_huge_lock

__pud_trans_huge_lock returns page table lock pointer if a given pud maps
a thp instead of 'true' since introduced. Fix corresponding comments.

Link: https://lkml.kernel.org/r/20220704132201.14611-4-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Acked-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