函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Check to see if this CPU is in a non-context-switch quiescent state,* namely user mode and idle loop.

函数原型:static void rcu_flavor_sched_clock_irq(int user)

返回类型:void

参数:

类型参数名称
intuser
904  如果user_is_cpu_rrupt_from_idle - see if interrupted from idle* If the current CPU is idle and running at a first-level (not nested)* interrupt from idle, return true. The caller must have at least* disabled preemption.
918  Note a quiescent state for PREEMPT=n. Because we do not need to know* how many quiescent states passed, just if there was at least one since* the start of the grace period, this just sets a flag. The caller must* have disabled preemption.
调用者
名称描述
rcu_sched_clock_irqThis function is invoked from each scheduling-clock interrupt,* and checks to see if this CPU is in a non-context-switch quiescent* state, for example, user mode or idle loop. It also schedules RCU* core processing