summaryrefslogtreecommitdiff
path: root/mm/gup.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-29 11:01:06 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 06:25:53 +0300
commitc37213c5eaaf4c9a6249b14b39426285a4ea89c5 (patch)
tree814f5086c9e332ca747c66c2af51612531ccda29 /mm/gup.c
parent99249387cf0d1e4525887c2292c4249edf0d8eea (diff)
downloadlinux-c37213c5eaaf4c9a6249b14b39426285a4ea89c5.tar.xz
hugetlb_cgroup: use helper for_each_hstate and hstate_index
Use helper for_each_hstate and hstate_index to iterate the hstate and get the hstate index. Minor readability improvement. Link: https://lkml.kernel.org/r/20220729080106.12752-6-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Reviewed-by: Mina Almasry <almasrymina@google.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/gup.c')
0 files changed, 0 insertions, 0 deletions