函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\sparse.c Create Date:2022-07-27 17:07:36
Last Modify:2020-03-17 22:36:03 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Record a memory area against a node.

函数原型:void __init memory_present(int nid, unsigned long start, unsigned long end)

返回类型:void

参数:

类型参数名称
intnid
unsigned longstart
unsigned longend
275  start与等于PAGE_SECTION_MASK
276  Validate the physical addressing limitations of the model
277 pfn小于end循环
278  section等于pfn_to_section_nr(pfn)
281  sparse_index_init(section, nid)
282  set_section_nid(section, nid)
284  ms等于__nr_to_section(section)
285  如果非section_mem_map
调用者
名称描述
memblocks_presentMark all memblocks as present using memory_present(). This is a* convienence function that is useful for a number of arches* to mark all of the systems memory as present during initialization.