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_cb

Proto:static int mem_cgroup_oom_notify_cb(struct mem_cgroup *memcg)

Type:int

Parameter:

TypeParameterName
struct mem_cgroup *memcg
3914  spin_lock( & memcg_oom_lock)
3916  list_for_each_entry - iterate over list of given type*@pos: the type * to use as a loop cursor.*@head: the head for your list.*@member: the name of the list_head within the struct.(ev, & For oom notifier event fd , list)
3917  eventfd_signal(eventfd, 1)
3919  spin_unlock( & memcg_oom_lock)
3920  Return 0
Caller
NameDescribe
mem_cgroup_oom_notify