Function report |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-28 10:22:27 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:If forward-progress checking is requested and feasible, spawn the thread.
Proto:static int __init rcu_torture_fwd_prog_init(void)
Type:int
Parameter:Nothing
1998 | If Not fwd_progress Then Return 0 |
2000 | If Not stall_dur || stall_dur() <= 0 || cur_ops == rcu_busted_ops Then |
2002 | VERBOSE_TOROUT_STRING("rcu_torture_fwd_prog_init: Disabled, unsupported by RCU flavor under test") |
2003 | Return 0 |
2005 | If stall_cpu > 0 Then |
2006 | VERBOSE_TOROUT_STRING("rcu_torture_fwd_prog_init: Disabled, conflicts with CPU-stall testing") |
2007 | If IS_MODULE(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'm', 0* otherwise.(CONFIG_RCU_TORTURE_TESTS) Then Return -EINVAL |
2009 | WARN_ON(1) |
2010 | Return 0 |
2012 | If fwd_progress_holdoff <= 0 Then fwd_progress_holdoff = 1 |
2014 | If fwd_progress_div <= 0 Then fwd_progress_div = 4 |
2016 | Return torture_create_kthread(Carry out grace-period forward-progress testing. , NULL, fwd_prog_task) |
Name | Describe |
---|---|
rcu_torture_init |
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 |