函数逻辑报告 |
Source Code:mm\workingset.c |
Create Date:2022-07-27 15:58:19 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:unpack_shadow
函数原型:static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat, unsigned long *evictionp, bool *workingsetp)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
void * | shadow | |
int * | memcgidp | |
pg_data_t ** | pgdat | |
unsigned long * | evictionp | |
bool * | workingsetp |
199 | entry等于xa_to_value() - Get value stored in an XArray entry.*@entry: XArray entry.* Context: Any context.* Return: The value stored in the XArray entry. |
203 | workingset等于entry按位与1 |
204 | entry右移等于1位 |
205 | nid等于entry按位与1UL左移NODES_SHIFT位的值减1 |
206 | entry右移等于NODES_SHIFT位 |
207 | memcgid等于entry按位与1UL左移MEM_CGROUP_ID_SHIFT位的值减1 |
208 | entry右移等于MEM_CGROUP_ID_SHIFT位 |
213 | workingsetp等于workingset |
名称 | 描述 |
---|---|
workingset_refault | workingset_refault - evaluate the refault of a previously evicted page*@page: the freshly allocated replacement page*@shadow: shadow entry of the evicted page* Calculates and evaluates the refault distance of the previously* evicted page in the context of |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |