函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:44:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_update_lru_size - account for adding or removing an lru page*@lruvec: mem_cgroup per zone lru vector*@lru: index of lru list the page is sitting on*@zid: zone id of the accounted pages*@nr_pages: positive when adding or negative when removing*
函数原型:void mem_cgroup_update_lru_size(struct lruvec *lruvec, enum lru_list lru, int zid, int nr_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct lruvec * | lruvec | |
enum lru_list | lru | |
int | zid | |
int | nr_pages |
1261 | 如果mem_cgroup_disabled()则返回 |
1265 | lru_size等于lru_zone_size[zid][lru] |
名称 | 描述 |
---|---|
update_lru_sizes | Update LRU sizes after isolating pages. The LRU size updates must* be complete before mem_cgroup_update_lru_size due to a santity check. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |