[PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter() v2

2021-01-04 Thread Frederic Weisbecker
The only code change in this v2 is the use of tif_need_resched() instead of need_resched() on 3/4 (build issue reported on linux-next). The rest is added Tested-by and Reviewed-by tags. git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git sched/idle-v2 HEAD: c246718a

Re: [PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter()

2021-01-01 Thread Paul E. McKenney
On Tue, Dec 22, 2020 at 05:19:51PM +0100, Rafael J. Wysocki wrote: > On 12/22/2020 2:37 AM, Frederic Weisbecker wrote: > > With Paul, we've been thinking that the idle loop wasn't twisted enough > > yet to deserve 2020. > > > > rcutorture, after some recent parameter changes, has been complaining

Re: [PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter()

2020-12-22 Thread Rafael J. Wysocki
On 12/22/2020 2:37 AM, Frederic Weisbecker wrote: With Paul, we've been thinking that the idle loop wasn't twisted enough yet to deserve 2020. rcutorture, after some recent parameter changes, has been complaining about a hung task. It appears that rcu_idle_enter() may wake up a NOCB kthread but

[PATCH 0/4] sched/idle: Fix missing need_resched() checks after rcu_idle_enter()

2020-12-21 Thread Frederic Weisbecker
With Paul, we've been thinking that the idle loop wasn't twisted enough yet to deserve 2020. rcutorture, after some recent parameter changes, has been complaining about a hung task. It appears that rcu_idle_enter() may wake up a NOCB kthread but this happens after the last generic need_resched()