Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1311943
| From | Mike Galbraith <umgwanakikbuti@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port |
| Date | 2016-01-19 06:20 +0100 |
| Message-ID | <qSwRX-320-3@gated-at.bofh.it> (permalink) |
| References | <qSdZ0-6VF-3@gated-at.bofh.it> <qSorp-5DG-23@gated-at.bofh.it> <qSwoW-2D4-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 2016-01-19 at 05:41 +0100, Mike Galbraith wrote: > On Mon, 2016-01-18 at 21:18 +0100, Sebastian Andrzej Siewior wrote: > > > > --- a/kernel/sched/core.c > > > +++ b/kernel/sched/core.c > > > @@ -3542,6 +3542,15 @@ asmlinkage __visible void __sched notrac > > > if (likely(!preemptible())) > > > return; > > > > > > +#ifdef CONFIG_PREEMPT_LAZY > > > + /* > > > + * Check for lazy preemption > > > + */ > > > + if (current_thread_info()->preempt_lazy_count && > > > + !test_thread_flag(TIF_NEED_RESCHED)) > > > + return; > > > +#endif > > > + > > > > And this is a new piece. So you forbid that tasks leave the CPU if > > lazy_count > 0. Let me look closed why this is happening and if > > this is > > v4.1 … v4.4 or not. > > That check wants a !rt_task(current) qualifier anyway. (bah, -ESWILLMORECOFFEE)
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-18 10:10 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-18 21:20 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-19 03:40 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-21 14:00 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-22 13:30 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-22 14:20 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-22 14:40 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-22 15:20 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-22 16:10 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-22 19:30 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-19 05:50 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Mike Galbraith <umgwanakikbuti@gmail.com> - 2016-01-19 06:20 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-22 13:00 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-22 14:00 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-01-22 21:50 +0100
Re: [rfc patch v4.4-rt2] sched: fix up preempt lazy forward port Grygorii Strashko <grygorii.strashko@ti.com> - 2016-01-25 18:20 +0100
csiph-web