函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:adjust_managed_page_count

函数原型:void adjust_managed_page_count(struct page *page, long count)

返回类型:void

参数:

类型参数名称
struct page *page
longcount
7463  atomic_long_add(count, & * spanned_pages is the total pages spanned by the zone, including * holes, which is calculated as: * spanned_pages = zone_end_pfn - zone_start_pfn; * present_pages is physical pages existing within the zone, which * is calculated as: * present_pages = span)
7464  totalram_pages_add(count)
调用者
名称描述
init_cma_reserved_pageblockFree whole pageblock and set its migration type to MIGRATE_CMA.
gather_bootmem_preallocPut bootmem huge pages into the standard lists after mem_map is up
free_reserved_page
mark_page_reserved