Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:rcu_torture_can_boost

Proto:static bool rcu_torture_can_boost(void)

Type:bool

Parameter:Nothing

2158  If Not ( test_boost == 1 && can_boost) && test_boost != 2 Then Return false
2161  prio = rcu_get_gp_kthreads_prio()
2162  If Not prio Then Return false
2165  If prio < 2 Then
2166  If boost_warn_once == 1 Then Return false
2169  pr_alert("%s: WARN: RCU kthread priority too low to test boosting. Skipping RCU boost test. Try passing rcutree.kthread_prio > 1 on the kernel command line.\n", KBUILD_MODNAME)
2170  boost_warn_once = 1
2171  Return false
2174  Return true
Caller
NameDescribe
rcu_torture_cleanup
rcu_torture_init