建议在开发版本中打开panic_on_rcu_stall,panic时如果有fulldump或vmcore生成,对定位问题有一定帮助; ...
INFO:rcu_sched self-detected stall on CPU0:(2099 ticks this GP) idle=5ed/140000000000001/0softirq=13024/13024fqs=1783(t=2100jiffies g=-51c=-52q=22) Task dumpforCPU0:insmod R running06586570x00000002[<c00171b4>](unwind_backtrace) from[<c0012e7c>](show_stack+0x20/0x24)[<c0012e7c>...
INFO: rcu_sched self-detected stall on CPU 0: (2099 ticks this GP) idle=5ed/140000000000001/0 softirq=13024/13024 fqs=1783 (t=2100 jiffies g=-51 c=-52 q=22) Task dump for CPU 0: insmod R running 0 658 657 0x00000002 [<c00171b4>] (unwind_backtrace) from [<c0012e7c>] (show...
[<c0052874>] (sched_show_task) from [<c0055dd0>] (dump_cpu_task+0x48/0x4c) [<c0055dd0>] (dump_cpu_task) from [<c0082878>] (rcu_dump_cpu_stacks+0x9c/0xd4) [<c0082878>] (rcu_dump_cpu_stacks) from [<c008665c>] (rcu_check_callbacks+0x640/0x968) [<c008665c>] (rcu_...
1) When the CPU is in sleep mode: PMUFW: PmProcTrSleepToActive: SLEEP->ACTIVE NODE_APU_0 PMUFW: PmPowerRequestParent: NODE_APU_0->NODE_APU [ 149.889952] INFO: rcu_sched self-detected stall on CPU [ 149.895015] 3-...: (5249 ticks this GP) idle=d59/140000000000001/0 softirq=649...
(ret_fast_syscall+0x0/0x4c) INFO: rcu_sched self-detected stall on CPU 0: (2099 ticks this GP) idle=5ed/140000000000001/0 softirq=13024/13024 fqs=1783 (t=2100 jiffies g=-51 c=-52 q=22) Task dump for CPU 0: insmod R running 0 658 657 0x00000002 [<c00171b4>] (unwind_...
[112.077203] INFO:RCU_PRETER-DETALL SELF DETECTED STALL on CPU [112.077223] 0-...:(2100次此 GP 周期) idle=71f/1/0 softirq=0/0 fqs=0 [112.077231] (t=2100 jiffies g=1715 c=1714 q=789) [112.077243] RCU_preempt kthread 为2100个吉夫! g1715 c1714 f0x0 RCU_GP_...
This results in a trace ala: rcu: INFO: rcu_sched self-detected stall on CPU rcu: 2-...!: (5249 ticks this GP) idle=935c/1/0x4000000000000000 softirq=4265/4274 fqs=1 (t=5251 jiffies g=465 q=4135 ncpus=4) rcu: rcu_sched kthread starved for 5249 jiffies! g465 f0x0 RCU_GP_...
此时,大家都感到非常疑惑,为什么一个用户态的程序会导致 Cpu 时间片打满且无法响应任何中断呢?同时我们继续查看虚机内部 dmesg 信息。 [Mon Oct 24 22:43:47 2022] rcu: INFO: rcu_preempt self-detected stall on CPU [Mon Oct 24 22:43:47 2022] rcu: 0-...: (14984 ticks this GP) idle=ac2/1...
static void sync_sched_exp_online_cleanup(int cpu); /* rcuc/rcub kthread realtime priority */ #ifdef CONFIG_RCU_KTHREAD_PRIO static int kthread_prio = CONFIG_RCU_KTHREAD_PRIO; #else /* #ifdef CONFIG_RCU_KTHREAD_PRIO */ static int kthread_prio = IS_ENABLED(CONFIG_RCU_BOOST) ?...