Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:34 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:reclaim_high
Proto:static void reclaim_high(struct mem_cgroup *memcg, unsigned int nr_pages, gfp_t gfp_mask)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
unsigned int | nr_pages | |
gfp_t | gfp_mask |
2230 | Do |
2231 | If page_counter_read( & Accounted resources ) <= Upper bound of normal memory consumption range Then Continue |
2233 | memcg_memory_event(memcg, MEMCG_HIGH) |
2234 | try_to_free_mem_cgroup_pages(memcg, nr_pages, gfp_mask, true) |
Name | Describe |
---|---|
high_work_func | |
mem_cgroup_handle_over_high | Scheduled by try_charge() to be executed from the userland return path* and reclaims memory over the high limit. |
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 |