Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmstat.c Create Date:2022-07-28 14:23:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto:static void pagetypeinfo_showmixedcount(struct seq_file *m, pg_data_t *pgdat)

Type:void

Parameter:

TypeParameterName
struct seq_file *m
pg_data_t *pgdat
1495  If Not static_branch_unlikely( & page_owner_inited) Then Return
1498  drain_all_pages(NULL)
1500  seq_printf(m, "\n%-23s", "Number of mixed blocks ")
1501  When mtype < MIGRATE_TYPES cycle 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.
Caller
NameDescribe
pagetypeinfo_showThis prints out statistics in relation to grouping pages by mobility.* It is expensive to collect so do not constantly read the file.