函数逻辑报告 | 
Source Code:mm\workingset.c | 
Create Date:2022-07-27 15:58:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:pack_shadow
函数原型:static void *pack_shadow(int memcgid, pg_data_t *pgdat, unsigned long eviction, bool workingset)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| int | memcgid | |
| pg_data_t * | pgdat | |
| unsigned long | eviction | |
| bool | workingset | 
| 188 | eviction与等于EVICTION_MASK | 
| 189 | eviction等于eviction左移MEM_CGROUP_ID_SHIFT位按位或memcgid | 
| 190 | eviction等于eviction左移NODES_SHIFT位按位或全局结点ID | 
| 191 | eviction等于eviction左移1位按位或workingset | 
| 名称 | 描述 | 
|---|---|
| workingset_eviction | workingset_eviction - note the eviction of a page from memory*@target_memcg: the cgroup that is causing the reclaim*@page: the page being evicted* Returns a shadow entry to be stored in @page->mapping->i_pages in place | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |