Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:schedule_tail - first thing a freshly forked thread must call.*@prev: the thread we just switched away from.

Proto:asmlinkage __visible void schedule_tail(struct task_struct *prev)__releases(rq->lock)

Type:void

Parameter:

TypeParameterName
struct task_struct *prev
3321  rq = sh_task_switch - clean up after a task-switch*@prev: the thread we just switched away from
3322  balance_callback(rq)
3323  preempt_enable()
3325  If set_child_tid Then Write a simple value into user space(task_pid_vnr(current process), set_child_tid)
3328  calculate_sigpending()