函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:OOM notifier, but this only prints diagnostic information for the* current forward-progress test.

函数原型:static int rcutorture_oom_notify(struct notifier_block *self, unsigned long notused, void *nfreed)

返回类型:int

参数:

类型参数名称
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  打印信息("%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  打印信息("%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  打印信息("%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  打印信息("%s returning after OOM processing.\n", __func__)
1960  返回:Suits me