From: Ingo Molnar <mingo@elte.hu>
To: Mark_H_Johnson@Raytheon.com
Cc: linux-kernel@vger.kernel.org, Lee Revell <rlrevell@joe-job.com>,
Rui Nuno Capela <rncbc@rncbc.org>, "K.R. Foley" <kr@cybsft.com>,
Daniel Walker <dwalker@mvista.com>, Bill Huey <bhuey@lnxw.com>,
Andrew Morton <akpm@osdl.org>, Adam Heath <doogie@debian.org>,
Lorenzo Allegrucci <l_allegrucci@yahoo.it>,
Dipankar Sarma <dipankar@in.ibm.com>
Subject: Re: [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U1
Date: Thu, 14 Oct 2004 20:24:38 +0200 [thread overview]
Message-ID: <20041014182438.GA30078@elte.hu> (raw)
In-Reply-To: <OF2289D554.769CEFC1-ON86256F2D.005DF70B-86256F2D.005DF791@raytheon.com>
* Mark_H_Johnson@Raytheon.com <Mark_H_Johnson@Raytheon.com> wrote:
> Not sure if I can bring this up to multi user yet. Some initial testing
> in single user mode indicates problems when I turn on networking. See
> the attached messages from /var/log/messages to see the kinds of problems
> I am having. The key ones appear after doing
> ./S10network start
> as part of single stepping the init sequence. I stopped at this point
> to make sure I had a good record of the messages.
could you try to disable SELINUX? It seems it's not fully safe yet.
> A side question - if
> CONFIG_PREEMPT_REALTIME=y
> you say that IRQ's must be threaded, is this going to be "permanent" and
> if so - why?
in a fully preemptible model all execution must be 'sequential', because
irq threads themselves can schedule too and could be preempted too. The
only way to make 'direct' interrupts possible again would be to disable
interrupts in _all_ non-preemptible sections, which would be quite some
work.
Another reason for the 'linearization' of as much execution as possible
is that such direct interrupts couldnt be preempted (or else you could
reenter them) which is impossible because all locks are mutexes.
a third reason is that nesting 'blocks' any underlying context. So if
task A is interrupted by irq X and schedules away (lets assume this is
safe) - nobody could unwind 'task A' - irq X blocks it until it finishes
execution. With linearlized contexts 'task A' could reschedule on
another CPU - or could get its priority raised with time if an RT
deadline is approaching, etc. It's much more flexible to have everything
flattened out.
this comes at a performance cost - but basically if you implement all
the properties one would expect form such an approach you'd end up with
a completely different irq scheduler - there's no point in that. Best is
to 'merge' all contexts, hardirqs and softirqs into the normal task
concept.
> I would prefer to not use threaded IRQ's if possible due to lower CPU
> overhead [see previous email describing results...] and some problems
> I see with setting priorities on those IRQ's (relative to real time
> tasks).
the overhead we can try to optimize later on. What problems do you see
with setting priorities on those IRQs?
Ingo
next prev parent reply other threads:[~2004-10-14 18:50 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-14 17:06 [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U1 Mark_H_Johnson
2004-10-14 18:24 ` Ingo Molnar [this message]
2004-10-14 19:02 ` Ingo Molnar
2004-10-14 20:26 ` Bill Huey
2004-10-14 20:32 ` Bill Huey
-- strict thread matches above, loose matches on Subject: below --
2004-11-13 23:02 William Wolf
2004-10-14 21:08 ` Lee Revell
2004-10-14 22:26 ` William Wolf
2004-10-14 22:24 Mark_H_Johnson
2004-10-14 19:13 Mark_H_Johnson
2004-10-14 19:46 ` Bill Huey
2004-10-14 19:48 ` Ingo Molnar
2004-10-14 21:52 ` Esben Nielsen
2004-10-15 14:52 ` Timothy Miller
2004-10-11 18:23 [patch] CONFIG_PREEMPT_REALTIME, 'Fully Preemptible Kernel', VP-2.6.9-rc4-mm1-T4 Mark_H_Johnson
2004-10-11 21:59 ` [patch] VP-2.6.9-rc4-mm1-T5 Ingo Molnar
2004-10-12 9:15 ` [patch] VP-2.6.9-rc4-mm1-T6 Ingo Molnar
2004-10-12 12:33 ` Ingo Molnar
2004-10-12 19:54 ` [patch] VP-2.6.9-rc4-mm1-T8 Ingo Molnar
2004-10-13 6:15 ` [patch] VP-2.6.9-rc4-mm1-T9 Ingo Molnar
2004-10-14 0:24 ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U0 Ingo Molnar
2004-10-14 14:31 ` [patch] Real-Time Preemption, -VP-2.6.9-rc4-mm1-U1 Ingo Molnar
2004-10-14 17:34 ` Adam Heath
2004-10-14 22:16 ` Adam Heath
2004-10-14 22:24 ` Ingo Molnar
2004-10-14 19:42 ` Daniel Walker
2004-10-14 19:57 ` Ingo Molnar
2004-10-14 20:34 ` Daniel Walker
[not found] ` <200410142216.23572.l_allegrucci@yahoo.it>
2004-10-14 20:21 ` Lee Revell
2004-10-14 20:28 ` Lorenzo Allegrucci
2004-10-14 20:39 ` K.R. Foley
2004-10-14 22:52 ` Radoslaw Szkodzinski
2004-10-15 11:22 ` Florian Schmidt
2004-10-15 11:44 ` Ingo Molnar
2004-10-15 12:25 ` Florian Schmidt
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=20041014182438.GA30078@elte.hu \
--to=mingo@elte.hu \
--cc=Mark_H_Johnson@Raytheon.com \
--cc=akpm@osdl.org \
--cc=bhuey@lnxw.com \
--cc=dipankar@in.ibm.com \
--cc=doogie@debian.org \
--cc=dwalker@mvista.com \
--cc=kr@cybsft.com \
--cc=l_allegrucci@yahoo.it \
--cc=linux-kernel@vger.kernel.org \
--cc=rlrevell@joe-job.com \
--cc=rncbc@rncbc.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.