Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\idle.c Create Date:2022-07-28 09:37:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cpu_idle_poll

Proto:static noinline int __cpuidle cpu_idle_poll(void)

Type:int

Parameter:Nothing

57  _idle_enter - inform RCU that current CPU is entering idle* Enter idle mode, in other words, -leave- the mode in which RCU* read-side critical sections can occur. (Though RCU read-side* critical sections can occur in irq handlers in idle, a possibility
58  trace_cpu_idle_rcuidle(0, smp_processor_id())
59  The local_irq_*() APIs are equal to the raw_local_irq*()* if !TRACE_IRQFLAGS.()
60  stop_critical_timings()
62  When Not tif_need_resched() && (cpu_idle_force_poll || tick_check_broadcast_expired()) cycle
64  cpu_relax()
65  start_critical_timings()
66  trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id())
67  _idle_exit - inform RCU that current CPU is leaving idle* Exit idle mode, in other words, -enter- the mode in which RCU* read-side critical sections can occur.* If you add or remove a call to rcu_idle_exit(), be sure to test with* CONFIG_RCU_EQS_DEBUG=y.
69  Return 1
Caller
NameDescribe
do_idleGeneric idle loop implementation* Called with polling cleared.