函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmscan.c Create Date:2022-07-27 15:43:39
Last Modify:2022-05-23 13:41:30 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:pgdat_watermark_boosted

函数原型:static bool pgdat_watermark_boosted(pg_data_t *pgdat, int classzone_idx)

返回类型:bool

参数:

类型参数名称
pg_data_t *pgdat
intclasszone_idx
3420 i大于等于0循环
3421  zone等于包含了结点中各内存域的数据结构i
3422  如果非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().则继续下一循环
3425  如果watermark_boost则返回:true
3429  返回:false
调用者
名称描述
wakeup_kswapdA zone is low on free memory or too fragmented for high-order memory