On 14.08.25 10:29, lirongqing wrote:
From: Li RongQing <lirongqing@xxxxxxxxx>
Optimize hugetlb_pages_alloc_boot() to return immediately when
max_huge_pages is 0, saving cycles when hugepages aren't configured in
the kernel command line.
Do we really care?
I find this when I see the boot log, I think this log is unnecessary if user did not configure hugetlbfs in kernel cmdline
kernel: HugeTLB: allocation took 0ms with hugepage_allocation_threads=32