Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-28 14:19:42
Last Modify:2022-05-23 13:41:30 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:pgdat_watermark_boosted

Proto:static bool pgdat_watermark_boosted(pg_data_t *pgdat, int classzone_idx)

Type:bool

Parameter:

TypeParameterName
pg_data_t *pgdat
intclasszone_idx
3420  When i >= 0 cycle
3421  zone = node_zones + i
3422  If Not Returns true if a zone has pages managed by the buddy allocator.* All the reclaim decisions have to use this function rather than* populated_zone(). If the whole zone is reserved then we can easily* end up with populated_zone() && !managed_zone(). Then Continue
3425  If watermark_boost Then Return true
3429  Return false
Caller
NameDescribe
wakeup_kswapdA zone is low on free memory or too fragmented for high-order memory