Function report | 
Source Code:mm\page_alloc.c | 
Create Date:2022-07-28 15:07:27 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:init_currently_empty_zone
Proto:void __meminit init_currently_empty_zone(struct zone *zone, unsigned long zone_start_pfn, unsigned long size)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct zone * | zone | |
| unsigned long | zone_start_pfn | |
| unsigned long | size | 
| 6190 | pgdat = zone_pgdat | 
| 6191 | zone_idx = zone_idx() returns 0 for the ZONE_DMA zone, 1 for the ZONE_NORMAL zone, etc.(zone) + 1 | 
| 6198 | mminit_dprintk(MMINIT_TRACE, "memmap_init", "Initialising map node %d zone %lu pfns %lu -> %lu\n", node_id, (unsignedlong)zone_idx(zone), zone_start_pfn, (zone_start_pfn + size)) | 
| 6204 | zone_init_free_lists(zone) | 
| 6205 | initialized = 1 | 
| Name | Describe | 
|---|---|
| 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  |