函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:43:45 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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
函数原型:struct mem_cgroup *get_mem_cgroup_from_mm(struct mm_struct *mm)
返回类型:struct mem_cgroup
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mm_struct * | mm |
927 | 如果mem_cgroup_disabled()则返回:NULL |
931 | 循环 |
937 | 如果此条件成立可能性小(为编译器优化)(!mm)则memcg等于root_mem_cgroup |
939 | 否则 |
941 | 如果此条件成立可能性小(为编译器优化)(!memcg)则memcg等于root_mem_cgroup |
946 | 返回:memcg |
名称 | 描述 |
---|---|
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 |
inotify_new_group |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |