函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmstat.c Create Date:2022-07-27 15:47:24
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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

函数原型:static void pagetypeinfo_showmixedcount(struct seq_file *m, pg_data_t *pgdat)

返回类型:void

参数:

类型参数名称
struct seq_file *m
pg_data_t *pgdat
1495  如果非static_branch_unlikely( & page_owner_inited)则返回
1498  drain_all_pages(NULL)
1500  seq_printf(m, "\n%-23s", "Number of mixed blocks ")
1501 mtype小于MIGRATE_TYPES循环seq_printf(m, "%12s ", In mm/page_alloc.c; keep in sync also with show_migration_types() there [mtype])
1503  seq_putc(m, '\n')
1505  Walk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
调用者
名称描述
pagetypeinfo_showThis prints out statistics in relation to grouping pages by mobility.* It is expensive to collect so do not constantly read the file.