Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:pgdat_init_internals

Proto:static void __meminit pgdat_init_internals(struct pglist_data *pgdat)

Type:void

Parameter:

TypeParameterName
struct pglist_data *pgdat
6681  pgdat_resize_init(pgdat)
6683  pgdat_init_split_queue(pgdat)
6684  pgdat_init_kcompactd(pgdat)
6686  init_waitqueue_head( & kswapd_wait)
6687  init_waitqueue_head( & pfmemalloc_wait)
6689  pgdat_page_ext_init(pgdat)
6690  Process spin lock initialization( & Write-intensive fields used by page reclaim )
6691  lruvec_init( & * NOTE: THIS IS UNUSED IF MEMCG IS ENABLED. * Use mem_cgroup_lruvec() to look up lruvecs.)
Caller
NameDescribe
free_area_init_core_hotplugSet up the zone data structures* - init pgdat internals* - init all zones belonging to this node* NOTE: this function is only called during memory hotplug
free_area_init_coreSet up the zone data structures:* - mark all pages reserved* - mark all memory queues empty* - clear the memory bitmaps* NOTE: pgdat should get zeroed by caller.* NOTE: this function is only called during early init.