Function report | 
Source Code:mm\vmstat.c | 
Create Date:2022-07-28 14:23:03 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Walk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
Proto:static void walk_zones_in_node(struct seq_file *m, pg_data_t *pgdat, bool assert_populated, bool nolock, void (*print)(struct seq_file *m, pg_data_t *, struct zone *))
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct seq_file * | m | |
| pg_data_t * | pgdat | |
| bool | assert_populated | |
| bool | nolock | |
| void (* | 
| 1335 | node_zones = node_zones | 
| 1338 | When zone - node_zones < MAX_NR_ZONES cycle | 
| 1339 | If assert_populated && Not Returns true if a zone has memory Then Continue | 
| 1342 | If Not nolock Then spin_lock_irqsave( & Primarily protects free_area , flags) | 
| 1345 | If Not nolock Then spin_unlock_irqrestore( & Primarily protects free_area , flags) | 
| Name | Describe | 
|---|---|
| frag_show | This walks the free areas for each zone. | 
| pagetypeinfo_showfree | Print out the free pages at each order for each migatetype | 
| pagetypeinfo_showblockcount | Print out the number of pageblocks for each migratetype | 
| pagetypeinfo_showmixedcount | Print out the number of pageblocks for each migratetype that contain pages* of other types. This gives an indication of how well fallbacks are being* contained by rmqueue_fallback(). It requires information from PAGE_OWNER* to determine what is going on | 
| zoneinfo_show | Output information about zones in @pgdat. All zones are printed regardless* of whether they are populated or not: lowmem_reserve_ratio operates on the* set of all zones and userspace would not be aware of such zones if they are | 
| 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  |