函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cpu_idle_poll

函数原型:static noinline int __cpuidle cpu_idle_poll(void)

返回类型:int

参数:

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, 当前cpu ID())
59  开中断()
60  stop_critical_timings()
62  当非tif_need_resched()且cpu_idle_force_polltick_check_broadcast_expired()的值循环
64  cpu_relax()
65  start_critical_timings()
66  trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, 当前cpu 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  返回:1
调用者
名称描述
do_idleGeneric idle loop implementation* Called with polling cleared.