Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-28 09:52:17
Last Modify:2020-03-17 14:26:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Recheck the pi chain, in case we got a priority setting* Called from sched_setscheduler

Proto:void rt_mutex_adjust_pi(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
1131  raw_spin_lock_irqsave( & Protection of the PI data structures: , flags)
1133  waiter = pi_blocked_on
1134  If Not waiter || rt_mutex_waiter_equal(waiter, Only use with rt_mutex_waiter_{less,equal}()(task)) Then
1135  raw_spin_unlock_irqrestore( & Protection of the PI data structures: , flags)
1136  Return
1138  next_lock = lock
1139  raw_spin_unlock_irqrestore( & Protection of the PI data structures: , flags)
1142  get_task_struct(task)
1144  Adjust the priority chain
Caller
NameDescribe
__sched_setscheduler