diff options
author | 2022-09-01 20:00:25 +0800 | |
---|---|---|
committer | 2022-09-11 20:26:09 -0700 | |
commit | bcc665436fe4648550ed4fd3345c7106b5da35b0 (patch) | |
tree | b703d555575d6c68b117f98ea14aafba44a814ba /include/linux/sched.h | |
parent | hugetlb: use sizeof() to get the array size (diff) | |
download | wireguard-linux-bcc665436fe4648550ed4fd3345c7106b5da35b0.tar.xz wireguard-linux-bcc665436fe4648550ed4fd3345c7106b5da35b0.zip |
hugetlb: use helper {huge_pte|pmd}_lock()
Use helper huge_pte_lock and pmd_lock to simplify the code. No functional
change intended.
Link: https://lkml.kernel.org/r/20220901120030.63318-6-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: Muchun Song <songmuchun@bytedance.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/sched.h')
0 files changed, 0 insertions, 0 deletions