Function report |
Source Code:mm\workingset.c |
Create Date:2022-07-28 14:33:13 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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
Proto:void workingset_refault(struct page *page, void *shadow)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
void * | shadow |
289 | unpack_shadow(shadow, & memcgid, & pgdat, & eviction, & workingset) |
309 | If Not mem_cgroup_disabled() && Not eviction_memcg Then Go to out |
331 | refault_distance = refault - eviction & EVICTION_MASK |
341 | memcg = page_memcg(page) |
351 | If refault_distance > active_file Then Go to out |
354 | SetPageActive(page) |
355 | advance_inactive_age(memcg, pgdat) |
359 | If workingset Then |
363 | out : |
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 |