Function report | 
Source Code:mm\workingset.c | 
Create Date:2022-07-28 14:33:07 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:unpack_shadow
Proto:static void unpack_shadow(void *shadow, int *memcgidp, pg_data_t **pgdat, unsigned long *evictionp, bool *workingsetp)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| 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 | 
| Name | Describe | 
|---|---|
| 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 | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |