Function report |
Source Code:mm\workingset.c |
Create Date:2022-07-28 14:33:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:pack_shadow
Proto:static void *pack_shadow(int memcgid, pg_data_t *pgdat, unsigned long eviction, bool workingset)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
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 | node_id |
191 | eviction = eviction << 1 | workingset |
Name | Describe |
---|---|
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 |
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 |