android_kernel_samsung_msm8976/kernel/cpu
Pavankumar Kondeti 632b40616e idle: add a check for need_resched() after rcu_idle_enter
rcu_idle_enter() can wake up ksoftirqd to finish RCU callbacks
before entering idle. Hence add a check for need_resched() after
rcu_idle_enter(). The CPU enters idle without this check and
tasks queued on this CPU are starved until CPU exits idle.

The cpuidle subsystem has checks for need_resched() before
entering CPU idle, but these checks does not come into the
picture if cpuidle is not enabled or becomes active during
boot.

Change-Id: I747e49acb41f201bdc9a7c12d81f366e76bbdbb3
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2016-10-03 20:28:27 -07:00
..
idle.c idle: add a check for need_resched() after rcu_idle_enter 2016-10-03 20:28:27 -07:00
Makefile