Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmstat.c Create Date:2022-07-28 14:23:14
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

Proto:static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *arg
1472  pgdat = arg
1474  seq_printf(m, "\n%-23s", "Number of blocks type ")
1475  When mtype < MIGRATE_TYPES cycle seq_printf(m, "%12s ", In mm/page_alloc.c; keep in sync also with show_migration_types() there [mtype])
1477  seq_putc(m, '\n')
1478  Walk zones in a node and print using a callback.* If @assert_populated is true, only use callback for zones that are populated.
1481  Return 0
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.