函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\vmpressure.c Create Date:2022-07-27 17:49:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:vmpressure_level

函数原型:static enum vmpressure_levels vmpressure_level(unsigned long pressure)

返回类型:enum vmpressure_levels

参数:

类型参数名称
unsigned longpressure
114  如果pressure大于等于vmpressure_level_critical则返回:VMPRESSURE_CRITICAL
116  否则如果pressure大于等于These thresholds are used when we account memory pressure through* scanned/reclaimed ratio. The current values were chosen empirically. In* essence, they are percents: the higher the value, the more number* unsuccessful reclaims there were.则返回:VMPRESSURE_MEDIUM
118  返回:VMPRESSURE_LOW
调用者
名称描述
vmpressure_calc_level