Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

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

Proto:static unsigned long rcu_torture_fwd_prog_cbfree(void)

Type:unsigned long

Parameter:Nothing

1750  freed = 0
1753  cycle
1754  spin_lock_irqsave( & rcu_fwd_lock, flags)
1755  rfcp = rcu_fwd_cb_head
1756  If Not rfcp Then
1758  Break
1760  rcu_fwd_cb_head = rfc_next
1761  If Not rcu_fwd_cb_head Then rcu_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  If tick_nohz_full_enabled() Then
1773  Return freed
Caller
NameDescribe
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.