diff options
author | Peter Zijlstra <peterz@infradead.org> | 2020-11-26 19:20:28 +0300 |
---|---|---|
committer | Dave Hansen <dave.hansen@linux.intel.com> | 2022-12-15 21:37:27 +0300 |
commit | dab6e717429e5ec795d558a0e9a5337a1ed33a3d (patch) | |
tree | ccf185608228f52912f57bd4f4d49b2fa066fb76 /mm/khugepaged.c | |
parent | 6ca297d4784625de7b041e8451780643cf5751a4 (diff) | |
download | linux-dab6e717429e5ec795d558a0e9a5337a1ed33a3d.tar.xz |
mm: Rename pmd_read_atomic()
There's no point in having the identical routines for PTE/PMD have
different names.
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20221022114424.841277397%40infradead.org
Diffstat (limited to 'mm/khugepaged.c')
-rw-r--r-- | mm/khugepaged.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/khugepaged.c b/mm/khugepaged.c index 4734315f7940..52237a777ebd 100644 --- a/mm/khugepaged.c +++ b/mm/khugepaged.c @@ -862,7 +862,7 @@ static int find_pmd_or_thp_or_none(struct mm_struct *mm, if (!*pmd) return SCAN_PMD_NULL; - pmde = pmd_read_atomic(*pmd); + pmde = pmdp_get_lockless(*pmd); #ifdef CONFIG_TRANSPARENT_HUGEPAGE /* See comments in pmd_none_or_trans_huge_or_clear_bad() */ |