Skip to content

Commit 9ef258b

Browse files
Kefeng Wangtorvalds
Kefeng Wang
authored andcommitted
thp: update split_huge_page_pmd() comment
According to 78ddc53 ("thp: rename split_huge_page_pmd() to split_huge_pmd()"), update related comment. Link: http://lkml.kernel.org/r/20190731033406.185285-1-wangkefeng.wang@huawei.com Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: "Kirill A . Shutemov" <kirill.shutemov@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 276f756 commit 9ef258b

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

arch/powerpc/mm/book3s64/hash_utils.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1748,7 +1748,7 @@ void flush_hash_hugepage(unsigned long vsid, unsigned long addr,
17481748
/*
17491749
* IF we try to do a HUGE PTE update after a withdraw is done.
17501750
* we will find the below NULL. This happens when we do
1751-
* split_huge_page_pmd
1751+
* split_huge_pmd
17521752
*/
17531753
if (!hpte_slot_array)
17541754
return;

include/asm-generic/pgtable.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,9 +1002,8 @@ static inline int pmd_none_or_trans_huge_or_clear_bad(pmd_t *pmd)
10021002
* need this). If THP is not enabled, the pmd can't go away under the
10031003
* code even if MADV_DONTNEED runs, but if THP is enabled we need to
10041004
* run a pmd_trans_unstable before walking the ptes after
1005-
* split_huge_page_pmd returns (because it may have run when the pmd
1006-
* become null, but then a page fault can map in a THP and not a
1007-
* regular page).
1005+
* split_huge_pmd returns (because it may have run when the pmd become
1006+
* null, but then a page fault can map in a THP and not a regular page).
10081007
*/
10091008
static inline int pmd_trans_unstable(pmd_t *pmd)
10101009
{

0 commit comments

Comments
 (0)