Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:10:33 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:memcg_hotplug_cpu_dead
Proto:static int memcg_hotplug_cpu_dead(unsigned int cpu)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
unsigned int | cpu |
2183 | stock = per_cpu(memcg_stock, cpu) |
2189 | When i < MEMCG_NR_STAT cycle |
2193 | x = this_cpu_xchg(stat[i], 0) |
2196 | atomic_long_add(x, & vmstats[i]) |
2198 | If i >= NR_VM_NODE_STAT_ITEMS Then Continue |
2201 | for_each_node(nid) |
2208 | atomic_long_add(x, & lruvec_stat[i]) |
2209 | When pn = parent_nodeinfo(pn, nid) cycle |
2213 | When i < CONFIG_DEBUG_TLBFLUSH cycle |
2216 | x = this_cpu_xchg(events[i], 0) |
2219 | atomic_long_add(x, & vmevents[i]) |
2223 | Return 0 |
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 |