Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:52 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:commit_charge
Proto:static void commit_charge(struct page *page, struct mem_cgroup *memcg, bool lrucare)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page | |
struct mem_cgroup * | memcg | |
bool | lrucare |
2611 | VM_BUG_ON_PAGE(mem_cgroup, page) |
2617 | If lrucare Then lock_page_lru(page, & isolated) |
2634 | mem_cgroup = memcg |
2636 | If lrucare Then unlock_page_lru(page, isolated) |
Name | Describe |
---|---|
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. |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |