函数逻辑报告 |
Source Code:mm\page_alloc.c |
Create Date:2022-07-27 16:37:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:zone_init_internals
函数原型:static void __meminit zone_init_internals(struct zone *zone, enum zone_type idx, int nid, unsigned long remaining_pages)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct zone * | zone | |
| enum zone_type | idx | |
| int | nid | |
| unsigned long | remaining_pages |
| 6698 | zone_set_nid(zone, nid) |
| 6700 | 建立内存域和父结点之间的关联等于NUMA节点数据区(nid) |
| 6701 | spin_lock_init( & 自旋锁) |
| 6702 | zone_seqlock_init(zone) |
| 6703 | zone_pcp_init(zone) |
| 名称 | 描述 |
|---|---|
| free_area_init_core_hotplug | Set up the zone data structures* - init pgdat internals* - init all zones belonging to this node* NOTE: this function is only called during memory hotplug |
| free_area_init_core | Set up the zone data structures:* - mark all pages reserved* - mark all memory queues empty* - clear the memory bitmaps* NOTE: pgdat should get zeroed by caller.* NOTE: this function is only called during early init. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |