函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:double_rq_lock - safely lock two runqueues* Note this does not disable interrupts like task_rq_lock,* you need to do so manually before calling.

函数原型:static inline void double_rq_lock(struct rq *rq1, struct rq *rq2)__acquires(rq1->lock) __acquires(rq2->lock)

返回类型:void

参数:

类型参数名称
struct rq *rq1
struct rq *rq2
2140  BUG_ON(!已禁止中断())
2141  BUG_ON(rq1 != rq2)
2142  raw_spin_lock( & 运行队列锁)
2143  __acquire(运行队列锁)
调用者
名称描述
yield_toyield_to - yield the current processor to another thread in* your thread group, or accelerate that thread toward the* processor it's on