Function report |
Source Code:kernel\rcu\rcutorture.c |
Create Date:2022-07-28 10:21:52 |
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 reader kthread. Repeatedly dereferences rcu_torture_current,* incrementing the corresponding element of the pipeline array. The* counter in the element should never be greater than 1, otherwise, the* RCU implementation is broken.
Proto:static int rcu_torture_reader(void *arg)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
void * | arg |
1359 | mynumonline = myid |
1363 | VERBOSE_TOROUT_STRING("rcu_torture_reader task started") |
1364 | set_user_nice(current process, MAX_NICE) |
1368 | Do |
1369 | If irqreader && irq_capable Then |
1376 | schedule_timeout_interruptible(1) |
1379 | When num_online_cpus() < mynumonline && Not Is it time for the current torture test to stop? cycle |
1380 | schedule_timeout_interruptible(HZ / 5) |
1382 | When Not Is it time for the current torture test to stop? cycle |
1383 | If irqreader && irq_capable Then |
1384 | del_timer_sync( & t) |
1385 | destroy_timer_on_stack( & t) |
1389 | 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 |