Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:mm\memcontrol.c Create Date:2022-07-28 16:14:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:subsys_initcall() for memory controller

Proto:static int __init mem_cgroup_init(void)

Type:int

Parameter:Nothing

6811  puhp_setup_state_nocalls - Setup hotplug state callbacks without calling the* callbacks*@state: The state for which the calls are installed*@name: Name of the callback
6814  for_each_possible_cpu(cpu)
6815  INIT_WORK( & work, drain_local_stock)
6818  for_each_node(node)
6821  rtpn = kzalloc_node - allocate zeroed memory from a particular memory node.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).*@node: memory node from which to allocate
6824  rb_root =
6825  rb_rightmost = NULL
6826  Process spin lock initialization( & lock)
6827  rb_tree_per_node[node] = rtpn
6830  Return 0