Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:less system_state == SYSTEM_BOOTING.* __ref due to call of __init annotated helper build_all_zonelists_init* [protected by SYSTEM_BOOTING].

Proto:void __ref build_all_zonelists(pg_data_t *pgdat)

Type:void

Parameter:

TypeParameterName
pg_data_t *pgdat
5799  If system_state == SYSTEM_BOOTING Then
5800  build_all_zonelists_init()
5801  Else
5802  __build_all_zonelists(pgdat)
5805  The total number of pages which are beyond the high watermark within all* zones. = r_free_pagecache_pages - count number of pages beyond high watermark* nr_free_pagecache_pages() counts the number of pages which are beyond the* high watermark within all zones.* Return: number of pages beyond high watermark within all zones.
5813  If The total number of pages which are beyond the high watermark within all* zones. < pageblock_nr_pages * MIGRATE_TYPES Then page_group_by_mobility_disabled = 1
5815  Else page_group_by_mobility_disabled = 0
5818  pr_info("Built %u zonelists, mobility grouping %s. Total pages: %ld\n", nr_online_nodes, page_group_by_mobility_disabled ? "off" : "on", The total number of pages which are beyond the high watermark within all* zones.)
5823  pr_info("Policy zone: %s\n", zone_names[policy_zone])
Caller
NameDescribe
hotadd_new_pgdatwe are OK calling __meminit stuff here - we have CONFIG_MEMORY_HOTPLUG