Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:vmpressure_parent

Proto:static struct vmpressure *vmpressure_parent(struct vmpressure *vmpr)

Type:struct vmpressure

Parameter:

TypeParameterName
struct vmpressure *vmpr
77  css = vmpressure_to_css(vmpr)
78  memcg = mem_cgroup_from_css(css)
80  memcg = parent_mem_cgroup - find the accounting parent of a memcg*@memcg: memcg whose parent to find* Returns the parent memcg, or NULL if this is the root or the memory* controller is in legacy no-hierarchy mode.
81  If Not memcg Then Return NULL
83  Return Some nice accessors for the vmpressure.
Caller
NameDescribe
vmpressure_work_fn