Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:14:48 |
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_swap - uncharge swap space*@entry: swap entry to uncharge*@nr_pages: the amount of swap space to uncharge
Proto:void mem_cgroup_uncharge_swap(swp_entry_t entry, unsigned int nr_pages)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
swp_entry_t | entry | |
unsigned int | nr_pages |
6979 | If Not Whether the swap controller is active Then Return |
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 | If memcg Then |
6986 | If Not mem_cgroup_is_root(memcg) Then |
6993 | mem_cgroup_id_put_many(memcg, nr_pages) |
Name | Describe |
---|---|
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 |
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 |