Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:get_mem_cgroup_from_mm: Obtain a reference on given mm_struct's memcg.*@mm: mm from which memcg should be extracted. It can be NULL.* Obtain a reference on mm->memcg and returns it if successful. Otherwise* root_mem_cgroup is returned
Proto:struct mem_cgroup *get_mem_cgroup_from_mm(struct mm_struct *mm)
Type:struct mem_cgroup
Parameter:
Type | Parameter | Name |
---|---|---|
struct mm_struct * | mm |
927 | If mem_cgroup_disabled() Then Return NULL |
931 | Do |
939 | Else |
946 | Return memcg |
Name | Describe |
---|---|
get_mem_cgroup_from_current | If current->active_memcg is non-NULL, do not fallback to current->mm->memcg. |
mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
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 |
SYSCALL_DEFINE2 | anotify syscalls |
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 |