Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1565909 > unrolled thread
| Started by | Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
|---|---|
| First post | 2017-01-24 15:50 +0100 |
| Last post | 2017-01-24 16:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH] kernel/sched/rt: Add a rescheduling point Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2017-01-24 15:50 +0100
Re: [PATCH] kernel/sched/rt: Add a rescheduling point Peter Zijlstra <peterz@infradead.org> - 2017-01-24 16:20 +0100
| From | Sebastian Andrzej Siewior <bigeasy@linutronix.de> |
|---|---|
| Date | 2017-01-24 15:50 +0100 |
| Subject | Re: [PATCH] kernel/sched/rt: Add a rescheduling point |
| Message-ID | <t3aA2-5wk-19@gated-at.bofh.it> |
On 2017-01-24 15:40:06 [+0100], To Peter Zijlstra wrote:
> Since the change in commit fd7a4bed1835 ("sched, rt: Convert
> switched_{from, to}_rt() / prio_changed_rt() to balance callbacks") we
> don't reschedule a task under certain circumstances:
|switched_to_dl()
|{
|…
| if (rq->curr != p) {
| #ifdef CONFIG_SMP
| if (tsk_nr_cpus_allowed(p) > 1 && rq->dl.overloaded)
| queue_push_tasks(rq);
| #else
| if (dl_task(rq->curr))
| check_preempt_curr_dl(rq, p, 0);
| else
| resched_curr(rq);
| #endif
| }
| }
This looks like it asks for a similar change.
Sebastian
[toc] | [next] | [standalone]
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Date | 2017-01-24 16:20 +0100 |
| Message-ID | <t3b34-5VZ-29@gated-at.bofh.it> |
| In reply to | #1565909 |
On Tue, Jan 24, 2017 at 03:43:54PM +0100, Sebastian Andrzej Siewior wrote:
> On 2017-01-24 15:40:06 [+0100], To Peter Zijlstra wrote:
> > Since the change in commit fd7a4bed1835 ("sched, rt: Convert
> > switched_{from, to}_rt() / prio_changed_rt() to balance callbacks") we
> > don't reschedule a task under certain circumstances:
>
> |switched_to_dl()
> |{
> |…
> | if (rq->curr != p) {
> | #ifdef CONFIG_SMP
> | if (tsk_nr_cpus_allowed(p) > 1 && rq->dl.overloaded)
> | queue_push_tasks(rq);
> | #else
> | if (dl_task(rq->curr))
> | check_preempt_curr_dl(rq, p, 0);
> | else
> | resched_curr(rq);
> | #endif
> | }
> | }
>
> This looks like it asks for a similar change.
Indeed.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web