Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Initialize the RDT group's allocations.

Proto:static int rdtgroup_init_alloc(struct rdtgroup *rdtgrp)

Type:int

Parameter:

TypeParameterName
struct rdtgroup *rdtgrp
2625  If rid == RDT_RESOURCE_MBA Then
2626  Initialize MBA resource with default values.
2627  Else
2628  ret = Initialize cache resources with default values
2629  If ret < 0 Then Return ret
2633  ret = update_domains(r, closid)
2634  If ret < 0 Then
2635  rdt_last_cmd_puts("Failed to initialize allocations\n")
2636  Return ret
2641  mode = RDT_MODE_SHAREABLE
2643  Return 0
Caller
NameDescribe
rdtgroup_mkdir_ctrl_monThese are rdtgroups created under the root directory. Can be used* to allocate and monitor resources.