Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__task_rq_unlock

Proto:static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf)__releases(rq->lock)

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct rq_flags *rf
1181  rq_unpin_lock(rq, rf)
1182  raw_spin_unlock( & runqueue lock: )
Caller
NameDescribe
ttwu_remoteCalled in case the task @p isn't fully descheduled from its runqueue,* in this case we must do a remote wakeup. Its a 'light' wakeup though,* since all we need to do is flip p->state to TASK_RUNNING, since* the task is still ->on_rq.