函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:36:26
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:prepare_task_switch - prepare to switch tasks*@rq: the runqueue preparing to switch*@prev: the current task that is being switched out*@next: the task we are going to switch to

函数原型:static inline void prepare_task_switch(struct rq *rq, struct task_struct *prev, struct task_struct *next)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct task_struct *prev
struct task_struct *next
3157  kcov_prepare_switch(prev)
3158  sched_info_switch(rq, prev, next)
3159  perf_event_task_sched_out(prev, next)
3160  rseq_preempt(prev)
3161  fire_sched_out_preempt_notifiers(prev, next)
3162  prepare_task(next)
3163  NOP if the arch has not defined these:(next)
调用者
名称描述
context_switch进程切换