函数逻辑报告 |
Source Code:include\linux\memcontrol.h |
Create Date:2022-07-27 06:56:22 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_lruvec - get the lru list vector for a memcg & node*@memcg: memcg of the wanted lruvec* Returns the lru list vector holding pages for a given @memcg &*@node combination. This can be the node lruvec, if the memory* controller is disabled.
函数原型:static inline struct lruvec *mem_cgroup_lruvec(struct mem_cgroup *memcg, struct pglist_data *pgdat)
返回类型:struct lruvec
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
struct pglist_data * | pgdat |
398 | 如果mem_cgroup_disabled()则 |
399 | lruvec等于* NOTE: THIS IS UNUSED IF MEMCG IS ENABLED. * Use mem_cgroup_lruvec() to look up lruvecs. |
400 | 转到:out |
403 | 如果非memcg则memcg等于root_mem_cgroup |
406 | mz等于mem_cgroup_nodeinfo(memcg, 全局结点ID) |
408 | out : |
414 | 如果此条件成立可能性小(为编译器优化)(pgdat != pgdat)则pgdat等于pgdat |
416 | 返回:lruvec |
名称 | 描述 |
---|---|
shrink_node_memcgs | |
shrink_node | |
snapshot_refaults | |
do_try_to_free_pages | This is the main entry point to direct page reclaim |
mem_cgroup_shrink_node | Only used by soft limit reclaim. Do not reuse for anything else. |
age_active_anon | |
clear_pgdat_congested | Clear pgdat state for congested, dirty or under writeback. |
advance_inactive_age | |
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 |
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 |
count_shadow_nodes | |
__mod_lruvec_slab_state | |
mem_cgroup_node_nr_lru_pages | |
mem_cgroup_move_account | mem_cgroup_move_account - move account of the page*@page: the page*@compound: charge the page as compound or small page*@from: mem_cgroup which the page is moved from.*@to: mem_cgroup which the page is moved to. @from != @to. |
__mod_lruvec_page_state |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |