Function report |
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 activity | Download SCCT | Chinese |
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 |
| 1757 | spin_unlock_irqrestore( & rcu_fwd_lock, flags) |
| 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) |
| 1765 | freed++ |
| 1767 | If tick_nohz_full_enabled() Then |
| 1773 | Return freed |
| Name | Describe |
|---|---|
| rcu_torture_fwd_prog_cr | Carry out call_rcu() forward-progress testing. |
| rcutorture_oom_notify | OOM notifier, but this only prints diagnostic information for the* current forward-progress test. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |