Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:36:31
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sched_setscheduler - change the scheduling policy and/or RT priority of a thread.*@p: the task in question.*@policy: new policy.*@param: structure containing the new RT priority.* Return: 0 on success. An error code otherwise.

Proto:int sched_setscheduler(struct task_struct *p, int policy, const struct sched_param *param)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
intpolicy
const struct sched_param *param
5063  Return _sched_setscheduler(p, policy, param, true)
Caller
NameDescribe
do_sched_setscheduler
rcu_torture_boost
ring_buffer_benchmark_init