aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/vmscan.c
diff options
context:
space:
mode:
authorMuchun Song <songmuchun@bytedance.com>2022-06-16 11:38:46 +0800
committerakpm <akpm@linux-foundation.org>2022-07-03 18:08:49 -0700
commitdc2628f39582e79bce41842fc91235b70054838c (patch)
tree473b739eac687e1f7a2cf9cc9a19adda55ed4722 /mm/vmscan.c
parentmm: memory_hotplug: make hugetlb_optimize_vmemmap compatible with memmap_on_memory (diff)
downloadwireguard-linux-dc2628f39582e79bce41842fc91235b70054838c.tar.xz
wireguard-linux-dc2628f39582e79bce41842fc91235b70054838c.zip
mm: hugetlb: remove minimum_order variable
commit 641844f5616d ("mm/hugetlb: introduce minimum hugepage order") fixed a static checker warning and introduced a global variable minimum_order to fix the warning. However, the local variable in dissolve_free_huge_pages() can be initialized to huge_page_order(&default_hstate) to fix the warning. So remove minimum_order to simplify the code. Link: https://lkml.kernel.org/r/20220616033846.96937-1-songmuchun@bytedance.com Signed-off-by: Muchun Song <songmuchun@bytedance.com> Reviewed-by: Oscar Salvador <osalvador@suse.de> Reviewed-by: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/vmscan.c')
0 files changed, 0 insertions, 0 deletions