Function report |
Source Code:mm\oom_kill.c |
Create Date:2022-07-28 14:06:01 |
Last Modify:2022-05-23 13:16:41 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dump_task
Proto:static int dump_task(struct task_struct *p, void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | p | |
void * | arg |
385 | If rn true if the task is not adequate as candidate victim task. Then Return 0 |
393 | If Not task Then |
399 | Return 0 |
402 | pr_info("[%7d] %5d %5d %8lu %8lu %8ld %8lu %5hd %s\n", pid, from_kuid( & userns count is 1 for root user, 1 for init_uts_ns,* and 1 for... ?, task_uid(task)), tgid, total_vm, get_mm_rss(mm), mm_pgtables_bytes(mm), per-process(per-mm_struct) statistics., oom_score_adj, comm) |
408 | task_unlock(task) |
410 | Return 0 |
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 |
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 |