Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\rcu\tree_plugin.h Create Date:2022-07-28 10:28:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static void rcu_qs(void)

Type:void

Parameter:Nothing

799  RCU_LOCKDEP_WARN(preemptible(), "rcu_qs() invoked with preemption enabled!!!")
800  If Not Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(s) Then Return
802  trace_rcu_grace_period(Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("rcu_sched"), Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(gp_seq), Strings used in tracepoints need to be exported via the* tracing system such that tools like perf and trace-cmd can* translate the string address pointers to actual text.("cpuqs"))
804  __this_cpu_write(norm, false)
805  If Not Operations for contexts that are safe from preemption/interrupts. These* operations verify that preemption is disabled.(exp) Then Return
807  __this_cpu_write(exp, false)
808  Report expedited quiescent state for specified rcu_data (CPU).