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_setattr

Proto:int sched_setattr(struct task_struct *p, const struct sched_attr *attr)

Type:int

Parameter:

TypeParameterName
struct task_struct *p
const struct sched_attr *attr
5069  Return __sched_setscheduler(p, attr, true, true)
Caller
NameDescribe
SYSCALL_DEFINE3sys_sched_setattr - same as above, but with extended sched_attr*@pid: the pid in question.*@uattr: structure containing the extended parameters.*@flags: for future extension.