函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:Returns stocks cached in percpu and reset cached information.
函数原型:static void drain_stock(struct memcg_stock_pcp *stock)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct memcg_stock_pcp * | stock |
2082 | old等于 this never be root cgroup |
2084 | 如果nr_pages则 |
2086 | 如果Whether legacy memory+swap accounting is active 则page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
2088 | 设置一个css引用 |
2089 | nr_pages等于0 |
2091 | this never be root cgroup = NULL |
名称 | 描述 |
---|---|
drain_local_stock | |
refill_stock | Cache charges(val) to local per_cpu area.* This will be consumed by consume_stock() function, later. |
memcg_hotplug_cpu_dead |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |