函数逻辑报告 |
Source Code:mm\workingset.c |
Create Date:2022-07-27 15:58:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:void *workingset_eviction(struct page *page, struct mem_cgroup *target_memcg)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct mem_cgroup * | target_memcg |
247 | pgdat等于page_pgdat(page) |
253 | VM_BUG_ON_PAGE(PageLRU(page), page) |
254 | VM_BUG_ON_PAGE(page_count(page), page) |
255 | VM_BUG_ON_PAGE(!PageLocked(page), page) |
257 | advance_inactive_age(page_memcg(page), pgdat) |
261 | memcgid等于mem_cgroup_id(lruvec_memcg(lruvec)) |
263 | 返回:pack_shadow(memcgid, pgdat, eviction, PageWorkingset(page)) |
名称 | 描述 |
---|---|
__remove_mapping | Same as remove_mapping, but if the page is removed from the mapping, it* gets returned with a refcount of 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |