Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pagetypeinfo_showfree_print

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

Type:void

Parameter:

TypeParameterName
struct seq_file *m
pg_data_t *pgdat
struct zone *zone
1378  When mtype < MIGRATE_TYPES cycle
1379  seq_printf(m, "Node %4d, zone %8s, type %12s ", node_id, name, In mm/page_alloc.c; keep in sync also with show_migration_types() there [mtype])
1384  freecount = 0
1387  bool overflow = false
1401  If ++freecount >= 100000 Then
1402  overflow = true
1403  Break
1406  seq_printf(m, "%s%6lu ", overflow ? ">" : "", freecount)
1407  spin_unlock_irq( & Primarily protects free_area )
1408  cond_resched()
1409  spin_lock_irq( & Primarily protects free_area )
1411  seq_putc(m, '\n')