Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Cache charges(val) to local per_cpu area.* This will be consumed by consume_stock() function, later.
Proto:static void refill_stock(struct mem_cgroup *memcg, unsigned int nr_pages)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct mem_cgroup * | memcg | |
unsigned int | nr_pages |
2121 | local_irq_save(flags) |
2123 | stock = this_cpu_ptr( & memcg_stock) |
2124 | If this never be root cgroup != memcg Then |
2126 | this never be root cgroup = memcg |
2133 | local_irq_restore(flags) |
Name | Describe |
---|---|
try_charge | |
mem_cgroup_uncharge_skmem | mem_cgroup_uncharge_skmem - uncharge socket memory*@memcg: memcg to uncharge*@nr_pages: number of pages to uncharge |
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 |