函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:mem_cgroup_threshold

函数原型:static void mem_cgroup_threshold(struct mem_cgroup *memcg)

返回类型:void

参数:

类型参数名称
struct mem_cgroup *memcg
3887 memcg循环
3888  __mem_cgroup_threshold(memcg, false)
3889  如果Whether legacy memory+swap accounting is active __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.
调用者
名称描述
memcg_check_eventsCheck events in order.