aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMiaohe Lin <linmiaohe@huawei.com>2022-09-16 15:22:53 +0800
committerAndrew Morton <akpm@linux-foundation.org>2022-10-03 14:03:30 -0700
commitc940e0207a1c307fdab92b32d0522271036fc3ef (patch)
treea234b7282ecf2fe8869f2140408f670fa447c62a /mm/hugetlb.c
parentmm/page_alloc: make boot_nodestats static (diff)
downloadwireguard-linux-c940e0207a1c307fdab92b32d0522271036fc3ef.tar.xz
wireguard-linux-c940e0207a1c307fdab92b32d0522271036fc3ef.zip
mm/page_alloc: use helper macro SZ_1{K,M}
Use helper macro SZ_1K and SZ_1M to do the size conversion. Minor readability improvement. Link: https://lkml.kernel.org/r/20220916072257.9639-13-linmiaohe@huawei.com Signed-off-by: Miaohe Lin <linmiaohe@huawei.com> Cc: Anshuman Khandual <anshuman.khandual@arm.com> Cc: David Hildenbrand <david@redhat.com> Cc: Matthew Wilcox <willy@infradead.org> Cc: Oscar Salvador <osalvador@suse.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions