aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/sched.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-09-01 20:00:25 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-09-11 20:26:09 -0700
commitbcc665436fe4648550ed4fd3345c7106b5da35b0 (patch)
treeb703d555575d6c68b117f98ea14aafba44a814ba /include/linux/sched.h
parenthugetlb: use sizeof() to get the array size (diff)
downloadwireguard-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