函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:rcutorture_booster_init

函数原型:static int rcutorture_booster_init(unsigned int cpu)

返回类型:int

参数:

类型参数名称
unsigned intcpu
1566  如果(boost_tasks[cpu] != NULL)则返回:0
1570  mutex_lock( & boost_mutex)
1571  rcu_torture_disable_rt_throttle()
1572  VERBOSE_TOROUT_STRING("Creating rcu_torture_boost task")
1573  boost_tasks[cpu]等于kthread_create_on_node - create a kthread
1576  如果是错误
1577  retval等于错误
1578  VERBOSE_TOROUT_STRING("rcu_torture_boost task create failed")
1579  n_rcu_torture_boost_ktrerror自加
1580  boost_tasks[cpu] = NULL
1581  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1582  返回:retval
1584  kthread_bind - bind a just-created kthread to a cpu
1585  唤醒中断线程
1586  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
1587  返回:0