函数逻辑报告 |
Source Code:mm\workingset.c |
Create Date:2022-07-27 15:58:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void workingset_refault(struct page *page, void *shadow)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
void * | shadow |
289 | unpack_shadow(shadow, & memcgid, & pgdat, & eviction, & workingset) |
309 | 如果非mem_cgroup_disabled()且非eviction_memcg则转到:out |
341 | memcg等于page_memcg(page) |
351 | 如果refault_distance大于active_file则转到:out |
354 | SetPageActive(page) |
355 | advance_inactive_age(memcg, pgdat) |
359 | 如果workingset则 |
363 | out : |
名称 | 描述 |
---|---|
add_to_page_cache_lru |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |