函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:54 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Cache charges(val) to local per_cpu area.* This will be consumed by consume_stock() function, later.
函数原型:static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
unsigned int | nr_pages |
2121 | local_irq_save(flags) |
2123 | stock等于this_cpu_ptr( & memcg_stock) |
2124 | 如果 this never be root cgroup 不等于memcg则 |
2126 | this never be root cgroup 等于memcg |
2133 | local_irq_restore(flags) |
名称 | 描述 |
---|---|
try_charge | |
mem_cgroup_uncharge_skmem | mem_cgroup_uncharge_skmem - uncharge socket memory*@memcg: memcg to uncharge*@nr_pages: number of pages to uncharge |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |