Function report | 
Source Code:mm\memcontrol.c | 
Create Date:2022-07-28 16:12:39 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:alloc_mem_cgroup_per_node_info
Proto:static int alloc_mem_cgroup_per_node_info(struct mem_cgroup *memcg, int node)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct mem_cgroup * | memcg | |
| int | node | 
| 4841 | If Not node_state(node, N_NORMAL_MEMORY) Then tmp = -1 | 
| 4844 | If Not pn Then Return 1 | 
| 4847 | Legacy local VM stats = alloc_percpu(structlruvec_stat) | 
| 4848 | If Not Legacy local VM stats Then | 
| 4853 | Subtree VM stats (batched updates) = alloc_percpu(structlruvec_stat) | 
| 4854 | If Not Subtree VM stats (batched updates) Then | 
| 4860 | lruvec_init( & lruvec) | 
| 4861 | Set to the value by which = 0 | 
| 4862 | he soft limit is exceeded = false | 
| 4863 | Back pointer, we cannot = memcg | 
| 4866 | Return 0 | 
| Name | Describe | 
|---|---|
| mem_cgroup_alloc | 
| 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  |