函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Return the memory (and swap, if configured) limit for a memcg.
函数原型:unsigned long mem_cgroup_get_max(struct mem_cgroup *memcg)
返回类型:unsigned long
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct mem_cgroup * | memcg |
| 1542 | 如果mem_cgroup_swappiness(memcg)则 |
| 1548 | swap_max等于两数取小(swap_max, (unsignedlong)protected with swap_lock. reading in vm_swap_full() doesn't need lock ) |
| 1551 | 返回:max |
| 名称 | 描述 |
|---|---|
| constrained_alloc | Determine the type of allocation constraint. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |