Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-28 15:27:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:report_hugepages

Proto:static void __init report_hugepages(void)

Type:void

Parameter:Nothing

2235  string_get_size - get the size in the specified units*@size: The size to be converted in blocks*@blk_size: Size of the block (use 1 for size in bytes)*@units: units to use (powers of 1000 or 1024)*@buf: buffer to format to*@len: length of buffer* This
2236  pr_info("HugeTLB registered %s page size, pre-allocated %ld pages\n", buf, free_huge_pages)
Caller
NameDescribe
hugetlb_init