函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\hugetlb.c Create Date:2022-07-27 16:59:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hugetlb_show_meminfo

函数原型:void hugetlb_show_meminfo(void)

返回类型:void

参数:

3089  如果非hugepages_supported()则返回
3092  for_each_node_state(nid, N_MEMORY)
3093  for_each_hstate(h)
3094  打印信息("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))