Function report |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-28 10:22:24 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:OOM notifier, but this only prints diagnostic information for the* current forward-progress test.
Proto:static int rcutorture_oom_notify(struct notifier_block *self, unsigned long notused, void *nfreed)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct notifier_block * | self | |
| unsigned long | notused | |
| void * | nfreed |
| 1945 | rcu_torture_fwd_cb_hist() |
| 1946 | rcu_fwd_progress_check(1 + (jiffies - READ_ONCE(rcu_fwd_startat)) / 2) |
| 1947 | WRITE_ONCE(rcu_fwd_emergency_stop, true) |
| 1948 | smp_mb() |
| 1949 | pr_info("%s: Freed %lu RCU callbacks.\n", __func__, Free all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.) |
| 1952 | pr_info("%s: Freed %lu RCU callbacks.\n", __func__, Free all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.) |
| 1955 | pr_info("%s: Freed %lu RCU callbacks.\n", __func__, Free all callbacks on the rcu_fwd_cb_head list, either because the* test is over or because we hit an OOM event.) |
| 1957 | smp_mb() |
| 1958 | nfreed++ |
| 1960 | Return Suits me |
| 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 |