函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:45:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:commit_charge
函数原型:static void commit_charge(struct page *page, struct mem_cgroup *memcg, bool lrucare)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct page * | page | |
struct mem_cgroup * | memcg | |
bool | lrucare |
2611 | VM_BUG_ON_PAGE(mem_cgroup, page) |
2617 | 如果lrucare则lock_page_lru(page, & isolated) |
2634 | mem_cgroup等于memcg |
2636 | 如果lrucare则unlock_page_lru(page, isolated) |
名称 | 描述 |
---|---|
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 |
mem_cgroup_migrate | mem_cgroup_migrate - charge a page's replacement*@oldpage: currently circulating page*@newpage: replacement page* Charge @newpage as a replacement page for @oldpage. @oldpage will* be uncharged upon free. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |