Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmpressure_level

Proto:static enum vmpressure_levels vmpressure_level(unsigned long pressure)

Type:enum vmpressure_levels

Parameter:

TypeParameterName
unsigned longpressure
114  If pressure >= vmpressure_level_critical Then Return VMPRESSURE_CRITICAL
116  Else if 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. Then Return VMPRESSURE_MEDIUM
118  Return VMPRESSURE_LOW
Caller
NameDescribe
vmpressure_calc_level