函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:49:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_swap_full
函数原型:bool mem_cgroup_swap_full(struct page *page)
返回类型:bool
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page |
7015 | VM_BUG_ON_PAGE(!PageLocked(page), page) |
7017 | 如果vm_swap_full()则返回:true |
7019 | 如果非Whether the swap controller is active 或非cgroup_subsys_on_dfl - fast test on whether a subsys is on default hierarchy*@ss: subsystem in question(memory_cgrp_subsys)则返回:false |
7022 | memcg等于mem_cgroup |
7023 | 如果非memcg则返回:false |
7026 | 以memcg不等于root_mem_cgroup循环如果page_counter_read( & swap)乘2大于等于max则 |
7028 | 返回:true |
7030 | 返回:false |
名称 | 描述 |
---|---|
do_swap_page | We enter with non-exclusive mmap_sem (to exclude vma changes,* but allow concurrent faults), and pte mapped but not yet locked.* We return with pte unmapped and unlocked.* We return with the mmap_sem locked or unlocked in the same cases |
__try_to_reclaim_swap | rns 1 if swap entry is freed |
shrink_page_list | shrink_page_list() returns the number of reclaimed pages |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |