Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-28 05:59:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__set_task_cpu

Proto:static inline void __set_task_cpu(struct task_struct *p, unsigned int cpu)

Type:void

Parameter:

TypeParameterName
struct task_struct *p
unsigned intcpu
1526  set_task_rq(p, cpu)
Caller
NameDescribe
sched_forkrk()/clone()-time setup:
init_idle_idle - set up an idle thread for a given CPU*@idle: task in question*@cpu: CPU the idle task belongs to* NOTE: this function does not set the idle thread's NEED_RESCHED* flag, to make booting more robust.