函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\cpu\resctrl\rdtgroup.c Create Date:2022-07-27 09:11:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Move tasks from one to the other group

函数原型:static void rdt_move_group_tasks(struct rdtgroup *from, struct rdtgroup *to, struct cpumask *mask)

返回类型:void

参数:

类型参数名称
struct rdtgroup *from
struct rdtgroup *to
struct cpumask *mask
2174  read_lock( & This serializes "schedule()" and also protects* the run-queue from deletions/modifications (but* _adding_ to the beginning of the run-queue has* a separate lock).)
2175  Careful: this is a double loop, 'break' won't work as expected. (p, t)
2176  如果非fromis_closid_match(t, from)或is_rmid_match(t, from)则
2178  closid等于closid
2179  rmid等于rmid
2196  read_unlock( & This serializes "schedule()" and also protects* the run-queue from deletions/modifications (but* _adding_ to the beginning of the run-queue has* a separate lock).)
调用者
名称描述
rmdir_all_subForcibly remove all of subdirectories under root.
rdtgroup_rmdir_mon
rdtgroup_rmdir_ctrl