Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:09:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:A routine for checking "mem" is under move_account() or not.* Checking a cgroup is mc.from or mc.to or under hierarchy of* moving cgroups. This is for waiting at high-memory pressure* caused by "move".
Proto:static bool mem_cgroup_under_move(struct mem_cgroup *memcg)
Type:bool
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
1323 | bool ret = false |
1328 | spin_lock( & r from, to ) |
1334 | ret = mem_cgroup_is_descendant(from, memcg) || mem_cgroup_is_descendant(to, memcg) |
1336 | unlock : |
1337 | spin_unlock( & r from, to ) |
1338 | Return ret |
Name | Describe |
---|---|
mem_cgroup_wait_acct_move |
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 |