Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Returns stocks cached in percpu and reset cached information.
Proto:static void drain_stock(struct memcg_stock_pcp *stock)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct memcg_stock_pcp * | stock |
| 2082 | old = this never be root cgroup |
| 2084 | If nr_pages Then |
| 2086 | If Whether legacy memory+swap accounting is active Then page_counter_uncharge - hierarchically uncharge pages*@counter: counter*@nr_pages: number of pages to uncharge |
| 2089 | nr_pages = 0 |
| 2091 | this never be root cgroup = NULL |
| Name | Describe |
|---|---|
| drain_local_stock | |
| refill_stock | Cache charges(val) to local per_cpu area.* This will be consumed by consume_stock() function, later. |
| memcg_hotplug_cpu_dead |
| 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 |