mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Esben Nielsen <nielsen.esben@googlemail.com>
To: Ingo Molnar <mingo@elte.hu>
Cc: Esben Nielsen <nielsen.esben@googlemail.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org,
	Steven Rostedt <rostedt@goodmis.org>
Subject: Re: New PriorityInheritanceTest - bug in 2.6.17-rt7 confirmed
Date: Thu, 6 Jul 2006 17:20:58 +0100 (BST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0607061720410.30970@localhost.localdomain> (raw)
In-Reply-To: <20060706133238.GA13800@elte.hu>

On Thu, 6 Jul 2006, Ingo Molnar wrote:

>
> * Esben Nielsen <nielsen.esben@googlemail.com> wrote:
>
>> It can run within try_to_wake_up(). But then it the whole lock chain
>> is traversed in an atomic section. That unpredictable overall system
>> latencies since the locks can be in userspace. So it has to run in
>> some task. That task has to be high priority enough to preempt the
>> boosted tasks, but it can't be so high priority that it bothers any
>> higher priority threads than those involved in this. So it can't be,
>> forinstance a general priority 99 task we just use for this. We thus
>> need something running at a slightly higher priority than the priority
>> to which the tasks are boosted, but not a full +1 priority. I.e. we
>> need to run it at priority "+0.5".
>
> we could just queue the task in front of the other task in the runqueue,
> and mark that task for reschedule if it's running currently. (Doing this
> is not without precedent: we do something similar in wake_up_new_task()
> to implement child-runs-first logic.)
>
I think that is more or less what my patch does...

Esben

> 	Ingo
>

  reply	other threads:[~2006-07-06 15:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-06 13:07 Esben Nielsen
2006-07-06 12:34 ` Thomas Gleixner
2006-07-06 14:11   ` Esben Nielsen
2006-07-06 13:32     ` Ingo Molnar
2006-07-06 16:20       ` Esben Nielsen [this message]
2006-07-07  0:02         ` Esben Nielsen

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=Pine.LNX.4.64.0607061720410.30970@localhost.localdomain \
    --to=nielsen.esben@googlemail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --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

all inboxes | Powered by JetHome®