Function report |
Source Code:kernel\rcu\tree.c |
Create Date:2022-07-28 10:27:18 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Spawn the kthreads that handle RCU's grace periods.
Proto:static int __init rcu_spawn_gp_kthread(void)
Type:int
Parameter:Nothing
| 3327 | Else if cuc/rcub kthread realtime priority < 0 Then cuc/rcub kthread realtime priority = 0 |
| 3329 | Else if cuc/rcub kthread realtime priority > 99 Then cuc/rcub kthread realtime priority = 99 |
| 3332 | If cuc/rcub kthread realtime priority != kthread_prio_in Then pr_alert("rcu_spawn_gp_kthread(): Limited prio to %d from %d\n", cuc/rcub kthread realtime priority , kthread_prio_in) |
| 3337 | t = Create kernel thread(Body of kthread that handles grace periods., NULL, "%s", Name of structure. ) |
| 3338 | If WARN_ONCE(IS_ERR(t), "%s: Could not start grace-period kthread, OOM is now expected behavior\n", __func__) Then Return 0 |
| 3340 | If cuc/rcub kthread realtime priority Then |
| 3346 | Task for grace periods. = t |
| 3349 | rcu_spawn_nocb_kthreads() |
| 3350 | rcu_spawn_boost_kthreads() |
| 3351 | 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 |