函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\sched.h Create Date:2022-07-27 06:58:15
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__task_rq_unlock

函数原型:static inline void __task_rq_unlock(struct rq *rq, struct rq_flags *rf)__releases(rq->lock)

返回类型:void

参数:

类型参数名称
struct rq *rq
struct rq_flags *rf
1181  rq_unpin_lock(rq, rf)
1182  raw_spin_unlock( & 运行队列锁)
调用者
名称描述
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.