summaryrefslogtreecommitdiff
path: root/include/linux/hugetlb_cgroup.h
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-07-29 11:01:03 +0300
committerAndrew Morton <akpm@linux-foundation.org>2022-09-12 06:25:52 +0300
commitabfb09e2c8569139e8430e3d57e6b1b294c8d34a (patch)
tree16c4eb6f7f03ed2c2f7b949e7ef62917e8a9fd05 /include/linux/hugetlb_cgroup.h
parent862f7f6581a353ee320beb2921f5e70b6afda5f2 (diff)
downloadlinux-abfb09e2c8569139e8430e3d57e6b1b294c8d34a.tar.xz
hugetlb_cgroup: hugetlbfs: use helper macro SZ_1{K,M,G}
Use helper macro SZ_1K, SZ_1M and SZ_1G to do the size conversion. Minor readability improvement. Link: https://lkml.kernel.org/r/20220729080106.12752-3-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/hugetlb_cgroup.h')
0 files changed, 0 insertions, 0 deletions