Function report | 
Source Code:mm\vmstat.c | 
Create Date:2022-07-28 14:23:22 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:zoneinfo_show_print
Proto:static void zoneinfo_show_print(struct seq_file *m, pg_data_t *pgdat, struct zone *zone)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| pg_data_t * | pgdat | |
| struct zone * | zone | 
| 1564 | seq_printf(m, "Node %d, zone %8s", node_id, name) | 
| 1565 | If is_zone_first_populated(pgdat, zone) Then | 
| 1566 | seq_printf(m, "\n per-node stats") | 
| 1567 | When i < NR_VM_NODE_STAT_ITEMS cycle | 
| 1568 | seq_printf(m, "\n %-12s %lu", node_stat_name(i), Determine the per node value of a stat item.) | 
| 1572 | seq_printf(m, "\n pages free %lu\n min %lu\n low %lu\n high %lu\n spanned %lu\n present %lu\n managed %lu", zone_page_state(zone, First 128 byte cacheline (assuming 64 bit words) ), min_wmark_pages(zone), low_wmark_pages(zone), high_wmark_pages(zone), spanned_pages, present_pages, zone_managed_pages(zone)) | 
| 1596 | If Not Returns true if a zone has memory Then | 
| 1601 | When i < NR_VM_ZONE_STAT_ITEMS cycle seq_printf(m, "\n %-12s %lu", zone_stat_name(i), zone_page_state(zone, i)) | 
| 1606 | When i < NR_VM_NUMA_STAT_ITEMS cycle seq_printf(m, "\n %-12s %lu", numa_stat_name(i), zone_numa_state_snapshot(zone, i)) | 
| 1611 | seq_printf(m, "\n pagesets") | 
| 1612 | for_each_online_cpu(i) | 
| 1615 | pageset = per_cpu_ptr(pageset, i) | 
| 1616 | seq_printf(m, "\n cpu: %i\n count: %i\n high: %i\n batch: %i", i, count, high watermark, emptying needed , chunk size for buddy add/remove ) | 
| 1630 | seq_printf(m, "\n node_unreclaimable: %u\n start_pfn: %lu", Number of 'reclaimed == 0' runs >= Maximum number of reclaim retries without progress before the OOM* killer is consider the only way forward., zone_start_pfn == zone_start_paddr >> PAGE_SHIFT ) | 
| 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  |