Function report |
Source Code:mm\page_alloc.c |
Create Date:2022-07-28 15:07:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:zone_init_internals
Proto:static void __meminit zone_init_internals(struct zone *zone, enum zone_type idx, int nid, unsigned long remaining_pages)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct zone * | zone | |
| enum zone_type | idx | |
| int | nid | |
| unsigned long | remaining_pages |
| 6698 | zone_set_nid(zone, nid) |
| 6699 | name = zone_names[idx] |
| 6700 | zone_pgdat = NODE_DATA(nid) |
| 6702 | zone_seqlock_init(zone) |
| 6703 | zone_pcp_init(zone) |
| Name | Describe |
|---|---|
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |