函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:45:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:reclaim_high
函数原型:static void reclaim_high(struct mem_cgroup *memcg, unsigned int nr_pages, gfp_t gfp_mask)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
unsigned int | nr_pages | |
gfp_t | gfp_mask |
2230 | 循环 |
2231 | 如果page_counter_read( & Accounted resources )小于等于 Upper bound of normal memory consumption range 则继续下一循环 |
2233 | memcg_memory_event(memcg, MEMCG_HIGH) |
2234 | try_to_free_mem_cgroup_pages(memcg, nr_pages, gfp_mask, true) |
名称 | 描述 |
---|---|
high_work_func | |
mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |