函数逻辑报告 |
Source Code:mm\memcontrol.c |
Create Date:2022-07-27 17:46:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:__mem_cgroup_threshold
函数原型:static void __mem_cgroup_threshold(struct mem_cgroup *memcg, bool swap)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
struct mem_cgroup * | memcg | |
bool | swap |
3841 | 如果非swap则t等于cu_dereference() - fetch RCU-protected pointer for dereferencing*@p: The pointer to read, prior to dereferencing* This is a simple wrapper around rcu_dereference_check().(primary) |
3849 | usage等于mem_cgroup_usage(memcg, swap) |
3864 | 以i大于等于0且此条件成立可能性小(为编译器优化)(threshold > usage)循环eventfd_signal(eventfd, 1) |
3868 | i自加 |
3876 | 以i小于Size of entries[] 且此条件成立可能性小(为编译器优化)(threshold <= usage)循环eventfd_signal(eventfd, 1) |
3881 | unlock : |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |