函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-27 17:45:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:memcg_hotplug_cpu_dead

函数原型:static int memcg_hotplug_cpu_dead(unsigned int cpu)

返回类型:int

参数:

类型参数名称
unsigned intcpu
2183  stock等于per_cpu(memcg_stock, cpu)
2184  Returns stocks cached in percpu and reset cached information.
2189 i小于MEMCG_NR_STAT循环
2193  x等于this_cpu_xchg(stat[i], 0)
2194  如果x则以mi循环
2196  atomic_long_add(x, & vmstats[i])
2198  如果i大于等于NR_VM_NODE_STAT_ITEMS则继续下一循环
2201  for_each_node(nid)
2205  x等于this_cpu_xchg(count[i], 0)
2206  如果x循环
2209 pn等于parent_nodeinfo(pn, nid)循环
2213 i小于 CONFIG_DEBUG_TLBFLUSH 循环
2216  x等于this_cpu_xchg(events[i], 0)
2217  如果x则以mi循环
2219  atomic_long_add(x, & vmevents[i])
2223  返回:0