Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_threshold

Proto:static void mem_cgroup_threshold(struct mem_cgroup *memcg)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
3887  When memcg cycle
3888  __mem_cgroup_threshold(memcg, false)
3889  If Whether legacy memory+swap accounting is active Then __mem_cgroup_threshold(memcg, true)
3892  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.
Caller
NameDescribe
memcg_check_eventsCheck events in order.