Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_scan_tasks - iterate over tasks of a memory cgroup hierarchy*@memcg: hierarchy root*@fn: function to call for each task*@arg: argument passed to @fn* This function iterates over tasks attached to @memcg or to any of its
Proto:int mem_cgroup_scan_tasks(struct mem_cgroup *memcg, int (*fn)(struct task_struct *, void *), void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
int (* | fn | |
void * | arg |
1182 | ret = 0 |
1184 | BUG_ON(memcg == root_mem_cgroup) |
1194 | If ret Then |
1199 | Return ret |
Name | Describe |
---|---|
dump_tasks | dump_tasks - dump current memory state of all system tasks*@oc: pointer to struct oom_control* Dumps the current memory state of all eligible tasks. Tasks not in the same* memcg, not in the same cpuset, or bound to a disjoint set of mempolicy nodes |
oom_kill_process |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |