Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:11:07 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Reclaims as many pages from the given memcg as possible.* Caller is responsible for holding css reference for memcg.
Proto:static int mem_cgroup_force_empty(struct mem_cgroup *memcg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg |
3152 | lru_add_drain_all() |
3154 | Drains all per-CPU charge caches for given root_memcg resp. subtree* of the hierarchy under it. |
3157 | When nr_retries && page_counter_read( & Accounted resources ) cycle |
3160 | If signal_pending(current process) Then Return -EINTR |
3163 | progress = try_to_free_mem_cgroup_pages(memcg, 1, GFP_KERNEL, true) |
3165 | If Not progress Then |
3173 | Return 0 |
Name | Describe |
---|---|
mem_cgroup_force_empty_write |
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 |