diff options
| author | 2022-07-29 16:01:06 +0800 | |
|---|---|---|
| committer | 2022-09-11 20:25:53 -0700 | |
| commit | c37213c5eaaf4c9a6249b14b39426285a4ea89c5 (patch) | |
| tree | 814f5086c9e332ca747c66c2af51612531ccda29 /include/linux | |
| parent | hugetlb_cgroup: use helper macro NUMA_NO_NODE (diff) | |
| download | linux-dev-c37213c5eaaf4c9a6249b14b39426285a4ea89c5.tar.xz linux-dev-c37213c5eaaf4c9a6249b14b39426285a4ea89c5.zip | |
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 'include/linux')
0 files changed, 0 insertions, 0 deletions
