Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mem_cgroup_oom_notify

Proto:static void mem_cgroup_oom_notify(struct mem_cgroup *memcg)

Type:void

Parameter:

TypeParameterName
struct mem_cgroup *memcg
3927  Iteration constructs for visiting all cgroups (under a tree). If* loops are exited prematurely (break), mem_cgroup_iter_break() must* be used for reference counting.(iter, memcg)
3928  mem_cgroup_oom_notify_cb(iter)
Caller
NameDescribe
mem_cgroup_oom
mem_cgroup_oom_synchronizemem_cgroup_oom_synchronize - complete memcg OOM handling*@handle: actually kill/wait or just clean up the OOM state* This has to be called at the end of a page fault if the memcg OOM* handler was enabled