函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Dissolve free hugepages in a given pfn range

函数原型:int dissolve_free_huge_pages(unsigned long start_pfn, unsigned long end_pfn)

返回类型:int

参数:

类型参数名称
unsigned longstart_pfn
unsigned longend_pfn
1534  rc等于0
1536  如果非hugepages_supported()则返回:rc
1539 pfn小于end_pfn循环
1540  page等于pfn_to_page(pfn)
1541  rc等于Dissolve a given free hugepage into free buddy pages. This function does* nothing for in-use hugepages and non-hugepages.* This function returns values like below:* -EBUSY: failed to dissolved free hugepages or the hugepage is in-use
1542  如果rc退出
1546  返回:rc