Function report |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-28 10:21:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:rcu_torture_boost
Proto:static int rcu_torture_boost(void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | arg |
803 | struct rcu_boost_inflight rbi = {inflight = 0} |
806 | VERBOSE_TOROUT_STRING("rcu_torture_boost started") |
809 | sched_priority = 1 |
811 | VERBOSE_TOROUT_STRING("rcu_torture_boost RT prio failed!") |
815 | init_rcu_head_on_stack( & rcu) |
817 | Do |
819 | bool failed = false |
824 | n_rcu_torture_boosts++ |
826 | Break |
835 | When ULONG_CMP_LT(jiffies, oldstarttime) cycle |
838 | If Is it time for the current torture test to stop? Then Go to checkwait |
843 | endtime = oldstarttime + test_boost_duration * HZ |
844 | call_rcu_time = jiffies |
845 | When ULONG_CMP_LT(jiffies, endtime) cycle |
847 | If Not smp_load_acquire( & inflight) Then |
849 | smp_store_release( & inflight, 1) |
852 | failed = failed || rcu_torture_boost_failed(call_rcu_time, jiffies) |
855 | call_rcu_time = jiffies |
858 | If Is it time for the current torture test to stop? Then Go to checkwait |
867 | If Not failed && smp_load_acquire( & inflight) Then rcu_torture_boost_failed(call_rcu_time, jiffies) |
883 | Break |
889 | checkwait : |
890 | When Not Is it time for the current torture test to stop? cycle |
897 | destroy_rcu_head_on_stack( & rcu) |
899 | Return 0 |
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 |