From: george anzinger <george@mvista.com>
To: Andrew Morton <akpm@digeo.com>
Cc: async@cc.gatech.edu, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] limits on SCHED_FIFO tasks
Date: Wed, 19 Mar 2003 00:22:27 -0800 [thread overview]
Message-ID: <3E7828C3.2070304@mvista.com> (raw)
In-Reply-To: <20030318190407.37a39db1.akpm@digeo.com>
Andrew Morton wrote:
> george anzinger <george@mvista.com> wrote:
>
>>If the issue is regaining control after some RT task goes into a loop,
>>the way this is usually done is to keep a session around with a higher
>>priority. Using this concept, one might provide tools that, from
>>userland, insure that such a session exists prior to launching the
>>"suspect" code. I fail to see the need for this sort of code in the
>>kernel.
>
>
> That works, until your shell calls ext3_mark_inode_dirty(), which blocks on
> kjournald activity. kjournald is SCHED_OTHER, and never runs...
>
That is classic priority inversion. It would be "nice" to find a fix
for that :) I think that the proposed action should not be triggered
until there is some "notice" that something is wrong. I suppose it
could be a watchdog timer of some sort. Still, if the priority
inversion issue were solved, all the rest could be done in user land.
>
>
--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml
prev parent reply other threads:[~2003-03-19 8:11 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-18 23:51 [PATCH] limits on SCHED_FIFO tasks rm
2003-03-19 1:12 ` george anzinger
2003-03-19 2:38 ` rm
2003-03-19 3:04 ` Andrew Morton
2003-03-19 8:22 ` george anzinger [this message]
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=3E7828C3.2070304@mvista.com \
--to=george@mvista.com \
--cc=akpm@digeo.com \
--cc=async@cc.gatech.edu \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.