Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:11:51 |
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_threshold
Proto:static void __mem_cgroup_threshold(struct mem_cgroup *memcg, bool swap)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
bool | swap |
3841 | If Not swap Then t = fetch RCU-protected pointer for dereferencing(primary) |
3849 | usage = mem_cgroup_usage(memcg, swap) |
3864 | When i >= 0 && Value for the false possibility is greater at compile time(threshold > usage) cycle eventfd_signal(eventfd, 1) |
3868 | i++ |
3876 | When i < Size of entries[] && Value for the false possibility is greater at compile time(threshold <= usage) cycle eventfd_signal(eventfd, 1) |
3881 | unlock : |
Name | Describe |
---|---|
mem_cgroup_threshold | |
__mem_cgroup_usage_register_event | |
__mem_cgroup_usage_unregister_event |
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 |