函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Invoke the RCU callbacks whose grace period has elapsed.

函数原型:static __latent_entropy void rcu_process_callbacks(struct softirq_action *unused)

返回类型:void

参数:

类型参数名称
struct softirq_action *unused
83  local_irq_save(flags)
84  如果->next pointer of last "done" CB. 恒等于List of pending callbacks (CBs).
86  local_irq_restore(flags)
87  返回
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  如果->next pointer of last CB. 恒等于->next pointer of last "done" CB. ->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 list循环
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