Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:This prints out statistics in relation to grouping pages by mobility.* It is expensive to collect so do not constantly read the file.

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

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *arg
1516  pgdat = arg
1519  If Not node_state(node_id, N_MEMORY) Then Return 0
1522  seq_printf(m, "Page block order: %d\n", Huge pages are a constant size )
1523  seq_printf(m, "Pages per block: %lu\n", pageblock_nr_pages)
1524  seq_putc(m, '\n')
1525  Print out the free pages at each order for each migatetype
1526  Print out the number of pageblocks for each migratetype
1527  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
1529  Return 0