Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\core.c Create Date:2022-07-28 08:10:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:resctrl_late_init

Proto:static int __init resctrl_late_init(void)

Type:int

Parameter:Nothing

968  rdt_init_res_defs()
970  check_quirks()
972  If Not get_rdt_resources() Then Return -ENODEV
975  Choose a width for the resource name and resource data based on the* resource that has widest name and cbm.
977  state = puhp_setup_state - Setup hotplug state callbacks with calling the callbacks*@state: The state for which the calls are installed*@name: Name of the callback (will be used in debug output)*@startup: startup callback function*@teardown: teardown callback
980  If state < 0 Then Return state
983  ret = rdtgroup_init()
984  If ret Then
985  puhp_remove_state - Remove hotplug state callbacks and invoke the teardown*@state: The state for which the calls are removed* Removes the callback functions and invokes the teardown callback on* the present cpus which have already reached the @state.
986  Return ret
988  rdt_online = state
990  for_each_alloc_capable_rdt_resource(r)
991  pr_info("%s allocation detected\n", name)
993  for_each_mon_capable_rdt_resource(r)
994  pr_info("%s monitoring detected\n", name)
996  Return 0