函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:45:06 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit.
函数原型:void mem_cgroup_handle_over_high(void)
返回类型:void
参数:无
| 2311 | 如果此条件成立可能性大(为编译器优化)(!nr_pages)则返回 |
| 2315 | reclaim_high(memcg, nr_pages, GFP_KERNEL) |
| 2316 | memcg_nr_pages_over_high等于0 |
| 2330 | usage等于page_counter_read( & Accounted resources ) |
| 2340 | clamped_high等于两数取大(high, 1UL) |
| 2356 | penalty_jiffies等于penalty_jiffies乘nr_pages除size of first charge trial. "32" comes from vmscan.c's magic value.* TODO: maybe necessary to use big numbers in big irons. |
| 2371 | 如果penalty_jiffies小于等于HZ除100则转到:out |
| 2383 | out : |
| 2384 | 设置一个css引用 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |