函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Return the number pages of memory we physically have, in PAGE_SIZE units.

函数原型:unsigned long hugetlb_total_pages(void)

返回类型:unsigned long

参数:

3112  nr_total_pages等于0
3114  for_each_hstate(h)
3115  nr_total_pages加等于nr_huge_pagespages_per_huge_page(h)
3116  返回:nr_total_pages
调用者
名称描述
vm_commit_limitCommitted memory limit enforced when OVERCOMMIT_NEVER policy is used