Function report | 
Source Code:kernel\rcu\tree.c | 
Create Date:2022-07-28 10:26:49 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Per-CPU kernel thread that invokes RCU callbacks. This replaces* the RCU softirq used in configurations of RCU that do not support RCU* priority boosting.
Proto:static void rcu_cpu_kthread(unsigned int cpu)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned int | cpu | 
| 2474 | statusp = this_cpu_ptr( & rcu_cpu_kthread_status) | 
| 2475 | workp = this_cpu_ptr( & rcu_cpu_has_work) | 
| 2480 | local_bh_disable() | 
| 2481 | statusp = RCU_KTHREAD_RUNNING | 
| 2482 | local_irq_disable() | 
| 2484 | workp = 0 | 
| 2488 | local_bh_enable() | 
| 2489 | If workp == 0 Then | 
| 2495 | statusp = RCU_KTHREAD_YIELDING | 
| 2497 | schedule_timeout_interruptible(2) | 
| 2499 | statusp = RCU_KTHREAD_WAITING | 
| 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  |