函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-27 10:36:07
Last Modify:2022-05-22 13:40:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:resched_cpu

函数原型:void resched_cpu(int cpu)

返回类型:void

参数:

类型参数名称
intcpu
534  rq等于cpu_rq(cpu)
537  raw_spin_lock_irqsave( & 运行队列锁, flags)
538  如果cpu_online(cpu)或cpu恒等于当前cpu ID()则标记当前进程需要被调度出去
540  raw_spin_unlock_irqrestore( & 运行队列锁, flags)
调用者
名称描述
rcu_implicit_dynticks_qsReturn true if the specified CPU has passed through a quiescent* state by virtue of being in or having passed through an dynticks* idle state since the last call to dyntick_save_progress_counter()* for this same CPU, or by virtue of having been offline.
call_rcuPost an RCU callback to be invoked after the end of an RCU grace* period. But since we have but one CPU, that would be after any* quiescent state.