Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1275316
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter |
| Date | 2015-11-23 14:10 +0100 |
| Message-ID | <qxZ2z-29g-47@gated-at.bofh.it> (permalink) |
| References | <qxclb-3eb-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Nov 21, 2015 at 01:02:02AM -0800, Lianwei Wang wrote: > The rcu_idle_endter may call wakeup_softirqd to set the need resched > flag on idle process. But if we don't check it after that, then the > cpu will enter idle state with RESCHED flag set and can not be woken > up by wakeup/resched call anymore. Fair enough; but which cpuidle driver did you observe that with? All the ones I checked test for need_resched again after this. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH] sched: idle: move need_resched check after function rcu_idle_enter Lianwei Wang <lianwei.wang@gmail.com> - 2015-11-21 10:10 +0100
Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter Peter Zijlstra <peterz@infradead.org> - 2015-11-23 14:10 +0100
Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter Lianwei Wang <lianwei.wang@gmail.com> - 2015-11-23 18:50 +0100
Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter Peter Zijlstra <peterz@infradead.org> - 2015-11-23 19:00 +0100
Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter Lianwei Wang <lianwei.wang@gmail.com> - 2015-11-23 21:10 +0100
Re: [PATCH] sched: idle: move need_resched check after function rcu_idle_enter Peter Zijlstra <peterz@infradead.org> - 2015-11-23 19:00 +0100
csiph-web