rcu_sched kthread starved for 23807 jiffies! g7075 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x1 ->cpu=5 Unless rcu_sched kthread gets sufficient CPU time, OOM is now expected behavior. 使CPU 时间的宽限期 kthread 饿死当然会导致 RCU CPU 停顿警告,即使所有 CPU 和任务都已通过所需的静止状态。
[17:41:22] [ 67.371720] Sending NMI from CPU 0 to CPUs 1: [17:41:32] [ 77.375403] rcu_sched kthread starved for 2034 jiffies! g911 c910 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x0 ->cpu=0 [17:41:32] [ 77.385787] rcu_sched R running task 0 9 2 0x00000000 [17:41:32] [ 7...
All QSes seen, last rcu_preempt kthread activity 23807 (4297905177-4297881370), jiffies_till_next_fqs=3, root ->qsmask 0x0 "23807"表示自宽限期kthread运行以来,已超过2.3万次jiffies。"jiffies_till_next_fqs"表示该kthread应该运行的频率,给出两次强制静态扫描之间的间隔,在这种情况下为3,比23807小...
g20409 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 [ 94.691925] rcu: Possible timer handling issue on cpu=0 timer-softirq=1664 [ 94.691929] rcu: rcu_sched kthread starved for 59998 jiffies! g20409 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x200 ->cpu=0 [ 94.691936] rcu: Unless rcu_sched...
static void rcu_check_gp_kthread_starvation(void) { struct task_struct *gpk = rcu_state.gp_kthread; unsigned long j; if (rcu_is_gp_kthread_starving(&j)) { pr_err("%s kthread starved for %ld jiffies! g%ld f%#x %s(%d) ->state=%#lx ->cpu=%d\n", ...
INFO: rcu_sched self-detected stall on CPU 0: (5250 ticks this GP) idle=e15/140000000000001/0 softirq=0/0 fqs=24 (t=5250 jiffies g=3340 c=3339 q=11378)rcu_sched kthread starved for 5226 jiffies!Task dump for CPU 0:run R running task 0 3068 3008 0x00000004Call Tr...
267 If the relevant grace-period kthread has been unable to run prior to 268 the stall warning, as was the case in the "All QSes seen" line above, 269 the following additional line is printed: 270 271 kthread starved for 23807 jiffies! g7075 f0x0 RCU_GP_WAIT_FQS(3) ->state=0x...
: (16GPs behind) idle=4cc/0/0x0softirq=1782/1782fqs=1[61.290408] rcu: (detectedby2, t=5282jiffies, g=633, q=71) [61.290424] Sending NMIfromCPU2to CPUs4: [61.290471] NMI backtraceforcpu4skipped: idling at native_safe_halt+0xe/0x10[61.291424] rcu: rcu_sched kthread starvedfor5244...
[285165.790740] INFO: rcu_sched self-detected stall on CPU[285165.795988] 0-...: (1 GPs behind) idle=7a9/140000000000001/0 softirq=78438968/78438969 fqs=2[285165.804689] (t=60000 jiffies g=34009425 c=34009424 q=50872)[285165.810530] rcu_sched kthread starved for 60000 jiffies! g34009425 c...
[19248.952630] rcu: rcu_preempt kthread starved for 4810527 jiffies! g825 f0x2 RCU_GP_WAIT_FQS(5) ->state=0x0 ->cpu=1[19248.962951] rcu: Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.[19248.972057] rcu: RCU grace-period kthre...