Function report |
Source Code:lib\show_mem.c |
Create Date:2022-07-28 06:14:13 |
Last Modify:2022-05-21 10:09:21 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:show_mem
Proto:void show_mem(unsigned int filter, nodemask_t *nodemask)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | filter | |
nodemask_t * | nodemask |
16 | printk("Mem-Info:\n") |
22 | When zoneid < MAX_NR_ZONES cycle |
23 | zone = node_zones[zoneid] |
24 | If Not Returns true if a zone has memory Then Continue |
27 | total += present_pages |
28 | reserved += present_pages - zone_managed_pages(zone) |
30 | If is_highmem_idx(zoneid) Then highmem += present_pages |
39 | printk("%lu pages cma reserved\n", totalcma_pages) |
42 | printk("%lu pages hwpoisoned\n", atomic_long_read( & num_poisoned_pages)) |
Name | Describe |
---|---|
warn_alloc_show_mem |
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 |