Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Invoke the RCU callbacks whose grace period has elapsed.

Proto:static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)

Type:void

Parameter:

TypeParameterName
struct softirq_action *unused
83  local_irq_save(flags)
84  If ->next pointer of last "done" CB. == List of pending callbacks (CBs). Then
86  local_irq_restore(flags)
87  Return
89  list = List of pending callbacks (CBs).
90  List of pending callbacks (CBs). = ->next pointer of last "done" CB.
91  * ->next pointer of last "done" CB. = NULL
92  If ->next pointer of last CB. == ->next pointer of last "done" CB. Then ->next pointer of last CB. = List of pending callbacks (CBs).
94  ->next pointer of last "done" CB. = List of pending callbacks (CBs).
95  local_irq_restore(flags)
98  When list cycle
99  next = next
100  Prefetch instructions for Pentium III (+) and AMD Athlon (+)* It's not worth to care about 3dnow prefetches for the K6* because they are microcoded there and very slow.
101  debug_rcu_head_unqueue(list)
102  local_bh_disable()
103  Reclaim the specified callback, either by invoking it (non-lazy case)* or freeing it directly (lazy case). Return true if lazy, false otherwise.
104  local_bh_enable()
105  list = next