Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:14:24 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mem_cgroup_uncharge - uncharge a page*@page: page to uncharge* Uncharge a page previously charged with mem_cgroup_try_charge() and* mem_cgroup_commit_charge().
Proto:void mem_cgroup_uncharge(struct page *page)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct page * | page |
6596 | If mem_cgroup_disabled() Then Return |
6600 | If Not mem_cgroup Then Return |
6603 | uncharge_gather_clear( & ug) |
6604 | uncharge_page(page, & ug) |
6605 | uncharge_batch( & ug) |
Name | Describe |
---|---|
free_compound_page | Higher-order pages are called "compound pages". They are structured thusly:* The first PAGE_SIZE page is called the "head page" and have PG_head set.* The remaining PAGE_SIZE pages are called "tail pages". PageTail() is encoded |
delete_from_lru_cache | XXX: It is possible that a page is isolated from LRU cache,* and then kept in swap cache or failed to remove from page cache.* The page count will stop it from being freed by unpoison.* Stress tests should be aware of this memory leak problem. |
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 |