Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:12:37 |
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_from_id - look up a memcg from a memcg id*@id: the memcg id to look up* Caller must hold rcu_read_lock().
Proto:struct mem_cgroup *mem_cgroup_from_id(unsigned short id)
Type:struct mem_cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned short | id |
4825 | WARN_ON_ONCE(!_read_lock_held() - might we be in RCU read-side critical section?* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an RCU* read-side critical section) |
4826 | Return dr_find() - Return pointer for given ID |
Name | Describe |
---|---|
mem_cgroup_try_charge | mem_cgroup_try_charge - try charging a page*@page: page to charge*@mm: mm context of the victim*@gfp_mask: reclaim mode*@memcgp: charged memcg return*@compound: charge the page as compound or small page* Try to charge @page to the memcg that @mm belongs |
mem_cgroup_uncharge_swap | mem_cgroup_uncharge_swap - uncharge swap space*@entry: swap entry to uncharge*@nr_pages: the amount of swap space to uncharge |
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 |