]> git.baikalelectronics.ru Git - kernel.git/commit
mm/page_vma_mapped.c: use helper function huge_pte_lock
authorMiaohe Lin <linmiaohe@huawei.com>
Sat, 9 Jul 2022 09:24:40 +0000 (17:24 +0800)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:14:47 +0000 (17:14 -0700)
commit90aae8a4c9abe251e7656a5bec1b30c80890e68f
tree2d50b2573e6f054941cc016b7fdcf16127f352e1
parent5e000cb91aba241fe03220a9b8a958f63fef74ad
mm/page_vma_mapped.c: use helper function huge_pte_lock

Use helper function huge_pte_lock() to lock the huge pte to simplify the
code a bit.  No functional change intended.

Link: https://lkml.kernel.org/r/20220709092440.43018-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/page_vma_mapped.c