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:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Create a monitor group under "mon_groups" directory of a control* and monitor group(ctrl_mon). This is a resource group* to monitor a subset of tasks and cpus in its parent ctrl_mon group.

Proto:static int rdtgroup_mkdir_mon(struct kernfs_node *parent_kn, struct kernfs_node *prgrp_kn, const char *name, umode_t mode)

Type:int

Parameter:

TypeParameterName
struct kernfs_node *parent_kn
struct kernfs_node *prgrp_kn
const char *name
umode_tmode
2764  ret = mkdir_rdt_prepare(parent_kn, prgrp_kn, name, mode, RDTMON_GROUP, & rdtgrp)
2766  If ret Then Return ret
2769  prgrp = parent
2770  closid = closid
2776  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
2778  rdtgroup_kn_unlock(parent_kn)
2779  Return ret
Caller
NameDescribe
rdtgroup_mkdir