Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rq_unlock

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

Type:void

Parameter:

TypeParameterName
struct rq *rq
struct rq_flags *rf
1247  rq_unpin_lock(rq, rf)
1248  raw_spin_unlock( & runqueue lock: )
Caller
NameDescribe
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