Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

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:

TypeParameterName
struct notifier_block *self
unsigned longnotused
void *nfreed
1943  WARN(1, "%s invoked upon OOM during forward-progress testing.\n", __func__)
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.)
1951  _barrier - Wait until all in-flight call_rcu() callbacks complete
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.)
1954  _barrier - Wait until all in-flight call_rcu() callbacks complete
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++
1959  pr_info("%s returning after OOM processing.\n", __func__)
1960  Return Suits me