Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmpressure_prio() - Account memory pressure through reclaimer priority level*@gfp: reclaimer's gfp mask*@memcg: cgroup memory controller handle*@prio: reclaimer's priority* This function should be called from the reclaim path every time when

Proto:void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio)

Type:void

Parameter:

TypeParameterName
gfp_tgfp
struct mem_cgroup *memcg
intprio
329  If prio > When there are too little pages left to scan, vmpressure() may miss the* critical pressure as number of pages will be less than "window size" Then Return
339  vmpressure() - Account memory pressure through scanned/reclaimed ratio*@gfp: reclaimer's gfp mask*@memcg: cgroup memory controller handle*@tree: legacy subtree mode*@scanned: number of pages scanned*@reclaimed: number of pages reclaimed* This function