函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_soft_reclaim
函数原型:static int mem_cgroup_soft_reclaim(struct mem_cgroup *root_memcg, pg_data_t *pgdat, gfp_t gfp_mask, unsigned long *total_scanned)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | root_memcg | |
pg_data_t * | pgdat | |
gfp_t | gfp_mask | |
unsigned long * | total_scanned |
1587 | struct mem_cgroup * victim = NULL |
1588 | total等于0 |
1589 | loop等于0 |
1592 | struct mem_cgroup_reclaim_cookie reclaim = {pgdat = pgdat, } |
1596 | excess等于soft_limit_excess(root_memcg) |
1598 | 当1循环 |
1600 | 如果非victim则 |
1624 | total_scanned加等于nr_scanned |
1625 | 如果非soft_limit_excess(root_memcg)则退出 |
1629 | 返回:total |
名称 | 描述 |
---|---|
mem_cgroup_soft_limit_reclaim |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |