Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Handle any core-RCU processing required by a call_rcu() invocation.

Proto:static void __call_rcu_core(struct rcu_data *rdp, struct callback_head *head, unsigned long flags)

Type:void

Parameter:

TypeParameterName
struct rcu_data *rdp
struct callback_head *head
unsigned longflags
2538  If Not _is_watching - see if RCU thinks that the current CPU is not idle* Return true if RCU is watching the running CPU, which means that this* CPU can safely enter RCU read-side critical sections Then invoke_rcu_core()
2542  If irqs_disabled_flags(flags) || cpu_is_offline(smp_processor_id()) Then Return
2552  If Value for the false possibility is greater at compile time(Return number of callbacks in segmented callback list. > different grace periods. + qhimark) Then
2556  note_gp_changes(rdp)
2561  Else
Caller
NameDescribe
__call_rcuHelper function for call_rcu() and friends. The cpu argument will* normally be -1, indicating "currently running CPU". It may specify* a CPU only if that CPU is a no-CBs CPU. Currently, only rcu_barrier()* is expected to specify a CPU.