函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\locking\rtmutex.c Create Date:2022-07-27 10:52:32
Last Modify:2020-03-17 14:26:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:Recheck the pi chain, in case we got a priority setting* Called from sched_setscheduler

函数原型:void rt_mutex_adjust_pi(struct task_struct *task)

返回类型:void

参数:

类型参数名称
struct task_struct *task
1131  raw_spin_lock_irqsave( & Protection of the PI data structures: , flags)
1133  waiter等于pi_blocked_on
1134  如果非waiterrt_mutex_waiter_equal(waiter, Only use with rt_mutex_waiter_{less,equal}()(task))则
1135  raw_spin_unlock_irqrestore( & Protection of the PI data structures: , flags)
1136  返回
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
调用者
名称描述
__sched_setscheduler