函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rq_unlock

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

返回类型:void

参数:

类型参数名称
struct rq *rq
struct rq_flags *rf
1247  rq_unpin_lock(rq, rf)
1248  raw_spin_unlock( & 运行队列锁)
调用者
名称描述
ttwu_queue
scheduler_tickThis function gets called by the timer code, with HZ frequency.* We call it with interrupts disabled.
do_sched_yieldsys_sched_yield - yield the current processor to other threads.* This function yields the current CPU to other tasks. If there are no* other threads running on this CPU then this function will return.* Return: 0.
task_fork_fairalled on fork with the child task as argument from the parent's context* - child not yet on the tasklist* - preemption disabled