Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hugetlb_show_meminfo

Proto:void hugetlb_show_meminfo(void)

Type:void

Parameter:Nothing

3089  If Not hugepages_supported() Then Return
3092  for_each_node_state(nid, N_MEMORY)
3093  for_each_hstate(h)
3094  pr_info("Node %d hugepages_total=%u hugepages_free=%u hugepages_surp=%u hugepages_size=%lukB\n", nid, nr_huge_pages_node[nid], free_huge_pages_node[nid], surplus_huge_pages_node[nid], 1UL << (huge_page_order(h) + PAGE_SHIFT determines the page size - 10))