函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:Free all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.

函数原型:static unsigned long rcu_torture_fwd_prog_cbfree(void)

返回类型:unsigned long

参数:

1750  freed等于0
1753  循环
1754  spin_lock_irqsave( & rcu_fwd_lock, flags)
1755  rfcp等于rcu_fwd_cb_head
1756  如果非rfcp
1758  退出
1760  rcu_fwd_cb_head等于rfc_next
1761  如果非rcu_fwd_cb_headrcu_fwd_cb_tail等于rcu_fwd_cb_head
1763  spin_unlock_irqrestore( & rcu_fwd_lock, flags)
1764  kfree(rfcp)
1765  freed自加
1766  Give the scheduler a chance, even on nohz_full CPUs.
1767  如果tick_nohz_full_enabled()则
1773  返回:freed
调用者
名称描述
rcu_torture_fwd_prog_crCarry out call_rcu() forward-progress testing.
rcutorture_oom_notifyOOM notifier, but this only prints diagnostic information for the* current forward-progress test.