Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:53 |
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_print_oom_meminfo: Print OOM memory information relevant to* memory controller.*@memcg: The memory cgroup that went over limit
Proto:void mem_cgroup_print_oom_meminfo(struct mem_cgroup *memcg)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
1508 | pr_info("memory: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & Accounted resources )), K((u64)max), failcnt) |
1511 | If cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys) Then pr_info("swap: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & swap)), K((u64)max), failcnt) |
1515 | Else |
1516 | pr_info("memory+swap: usage %llukB, limit %llukB, failcnt %lu\n", K((u64)page_counter_read( & Legacy consumer-oriented counters )), K((u64)max), failcnt) |
1524 | pr_info("Memory cgroup stats for ") |
1527 | buf = memory_stat_format(memcg) |
1528 | If Not buf Then Return |
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 |