From: Peter Zijlstra <peterz@infradead.org>
To: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>,
linux-kernel@vger.kernel.org, tglx@linutronix.de,
Juri Lelli <juri.lelli@gmail.com>
Subject: Re: [PATCH] kernel/sched/rt: Add a rescheduling point
Date: Tue, 24 Jan 2017 16:17:45 +0100 [thread overview]
Message-ID: <20170124151745.GM3093@worktop> (raw)
In-Reply-To: <20170124144353.ehacjtgqduwy23dy@linutronix.de>
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.
next prev parent reply other threads:[~2017-01-24 15:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-24 14:40 [PATCH] kernel/sched/rt: Add a rescheduling point Sebastian Andrzej Siewior
2017-01-24 14:43 ` Sebastian Andrzej Siewior
2017-01-24 15:17 ` Peter Zijlstra [this message]
2017-01-25 12:16 ` Peter Zijlstra
2017-01-30 11:57 ` [tip:sched/core] sched/rt: Add a missing " tip-bot for Sebastian Andrzej Siewior
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170124151745.GM3093@worktop \
--to=peterz@infradead.org \
--cc=bigeasy@linutronix.de \
--cc=juri.lelli@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox