Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\core.c Create Date:2022-07-28 09:35:31
Last Modify:2022-05-22 13:40:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:resched_cpu

Proto:void resched_cpu(int cpu)

Type:void

Parameter:

TypeParameterName
intcpu
534  rq = cpu_rq(cpu)
537  raw_spin_lock_irqsave( & runqueue lock: , flags)
538  If cpu_online(cpu) || cpu == smp_processor_id() Then sched_curr - mark rq's current task 'to be rescheduled now'.* On UP this means the setting of the need_resched flag, on SMP it* might also involve a cross-CPU call to trigger the scheduler on* the target CPU.
540  raw_spin_unlock_irqrestore( & runqueue lock: , flags)
Caller
NameDescribe
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.