函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:49:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:mem_cgroup_uncharge_swap - uncharge swap space*@entry: swap entry to uncharge*@nr_pages: the amount of swap space to uncharge
函数原型:void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
swp_entry_t | entry | |
unsigned int | nr_pages |
6979 | 如果非Whether the swap controller is active 则返回 |
6982 | id等于swap_cgroup_record(entry, 0, nr_pages) |
6984 | memcg等于mem_cgroup_from_id - look up a memcg from a memcg id*@id: the memcg id to look up* Caller must hold rcu_read_lock(). |
6985 | 如果memcg则 |
6986 | 如果非mem_cgroup_is_root(memcg)则 |
6993 | mem_cgroup_id_put_many(memcg, nr_pages) |
名称 | 描述 |
---|---|
put_swap_page | Called after dropping swapcache to decrease refcnt to swap entries. |
mem_cgroup_commit_charge | mem_cgroup_commit_charge - commit a page charge*@page: page to charge*@memcg: memcg to charge the page to*@lrucare: page might be on LRU already*@compound: charge the page as compound or small page* Finalize a charge transaction started by |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |