From: Ingo Molnar <mingo@elte.hu>
To: Sven-Thorsten Dietrich <sdietrich@mvista.com>
Cc: linux-kernel@vger.kernel.org,
Alexander Batyrshin <abatyrshin@ru.mvista.com>,
"Amakarov@Ru. Mvista. Com" <amakarov@ru.mvista.com>,
Daniel Walker <dwalker@mvista.com>,
"Eugeny S. Mints" <emints@ru.mvista.com>,
"Ext-Rt-Dev@Mvista. Com" <ext-rt-dev@mvista.com>,
New Zhang Haitao <hzhang@ch.mvista.com>,
"Yyang@Ch. Mvista. Com" <yyang@ch.mvista.com>
Subject: Re: [ANNOUNCE] Linux 2.6 Real Time Kernel
Date: Sun, 10 Oct 2004 10:46:33 +0200 [thread overview]
Message-ID: <20041010084633.GA13391@elte.hu> (raw)
In-Reply-To: <41677E4D.1030403@mvista.com>
* Sven-Thorsten Dietrich <sdietrich@mvista.com> wrote:
> Announcing the availability of prototype real-time (RT)
> enhancements to the Linux 2.6 kernel.
>
> We will submit 3 additional emails following this one, containing
> the remaining 3 patches (of 4) inline, with their descriptions.
cool! Basically the biggest problem is not the technology itself, but
its proper integration into Linux. As it can be seen from the 2.4 RT
patches (TimeSys and yours), just walking the path towards a fully
preemptible kernel is not fruitful because it generates lots of huge,
intrusive patches that end up being unmaintainable forks of the Linux
tree.
the other approach is what i'm currently doing with the
voluntary-preempt patchset: to improve the generic kernel for latency
purposes without actually adding too many extra features. Here is what
is happening in the -mm tree right now:
- the generic irq subsystem: irq threading is a simple ~200-lines,
architecture-independent add-on to this. It makes no sense to offer 3
different implementations - pick one and help make it work well.
- preemptible BKL. Related to this is new debugging infrastructure in
-mm that allows the safe and slow conversion of spinlocks to mutexes.
In the case of the BKL this conversion is expected to be permanent,
for most of the other spinlocks it will be optional - but the
debugging code can still be used.
- various fixes and latency improvements. A mutex based kernel is of
little use if the only code you can execute reliably is user-space
code and the moment you hit kernel-space your RT app is exposed to
high latencies.
A couple of suggestions wrt. how to speed up the integration effort: you
might want to rebase this stuff to the -mm tree. Also, what i dont see
in your (and others') patches (yet?) is some of the harder stuff:
- the handling of per-CPU data structures (get_cpu_var())
- RCU and softirq data structures
- the handling of the IRQ flag
These are basic correctness issues that affect UP just as much as SMP.
Without these the kernel is still not a "fully preemptible" kernel.
These need infrastructure changes too, so they must preceed any addition
of a spinlock -> mutex conversion feature.
So the mutex patch will probably the one that can go upstream _last_,
which will do the "final step" of making the kernel fully preemptible.
Ingo
next prev parent reply other threads:[~2004-10-10 8:45 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-09 5:59 [ANNOUNCE] Linux 2.6 Real Time Kernel Sven-Thorsten Dietrich
2004-10-09 6:40 ` Lee Revell
2004-10-09 7:33 ` Daniel Walker
2004-10-09 7:42 ` Lee Revell
2004-10-09 23:40 ` Matthias Urlichs
2004-10-09 8:52 ` Lee Revell
2004-10-09 23:20 ` Dave Hansen
2004-10-09 23:24 ` Lee Revell
2004-10-09 10:51 ` Måns Rullgård
2004-10-09 13:15 ` Måns Rullgård
2004-10-09 21:20 ` Lee Revell
2004-10-09 21:35 ` Måns Rullgård
2004-10-09 21:37 ` Lee Revell
2004-10-09 21:45 ` Måns Rullgård
2004-10-09 21:55 ` Lee Revell
2004-10-09 22:21 ` Måns Rullgård
2004-10-09 23:52 ` Lee Revell
2004-10-10 0:05 ` Måns Rullgård
2004-10-10 0:45 ` Lee Revell
2004-10-10 1:05 ` Måns Rullgård
2004-10-10 1:09 ` Lee Revell
2004-10-10 0:43 ` Micha Feigin
2004-10-10 1:08 ` Måns Rullgård
2004-10-09 17:41 ` Karim Yaghmour
2004-10-09 18:30 ` Lee Revell
2004-10-09 21:26 ` stefan.eletzhofer
2004-10-09 19:30 ` Lee Revell
2004-10-09 19:38 ` Måns Rullgård
2004-10-09 21:38 ` stefan.eletzhofer
2004-10-09 19:47 ` Lee Revell
2004-10-09 20:11 ` Karim Yaghmour
2004-10-09 20:14 ` Lee Revell
2004-10-09 20:53 ` Karim Yaghmour
2004-10-09 20:59 ` Lee Revell
2004-10-09 20:20 ` Robert Love
2004-10-09 20:25 ` Lee Revell
2004-10-10 1:15 ` Lee Revell
2004-10-10 8:46 ` Ingo Molnar [this message]
2004-10-10 19:41 ` Daniel Walker
2004-10-10 19:46 ` Ingo Molnar
2004-10-10 21:20 ` Andrew Morton
2004-10-10 21:59 ` Ingo Molnar
2004-10-11 17:53 ` Daniel Walker
2004-10-11 20:49 ` Ingo Molnar
2004-10-11 21:44 ` Sven Dietrich
2004-10-11 21:54 ` Ingo Molnar
2004-10-11 23:05 ` Sven Dietrich
2004-10-12 5:50 ` Ingo Molnar
2004-10-14 5:09 ` Dipankar Sarma
2004-10-14 7:18 ` Ingo Molnar
2004-10-15 14:59 ` Paul E. McKenney
2004-10-15 15:45 ` Ingo Molnar
2004-10-15 16:40 ` Paul E. McKenney
2004-10-15 16:45 ` Paul E. McKenney
2004-10-17 17:12 ` Ingo Molnar
2004-10-12 18:50 ` Daniel Walker
2004-10-12 19:46 ` [Ext-rt-dev] " Thomas Gleixner
2004-10-12 20:31 ` Sven Dietrich
2004-10-12 20:37 ` Thomas Gleixner
2004-10-13 0:30 ` George Anzinger
2004-10-12 21:12 ` Bill Huey
2004-10-12 21:24 ` Bill Huey
2004-10-12 21:32 ` Thomas Gleixner
2004-10-12 23:13 ` Bill Huey
2004-10-12 21:41 ` Sven Dietrich
2004-10-12 22:57 ` Bill Huey
2004-10-12 23:17 ` Adam Heath
2004-10-12 23:36 ` Lee Revell
2004-10-12 23:25 ` Thomas Gleixner
2004-10-13 2:02 ` K.R. Foley
2004-10-13 13:39 ` Martijn Sipkema
2004-10-13 13:26 ` La Monte H.P. Yarroll
2004-10-13 15:04 ` Martijn Sipkema
2004-10-13 14:55 ` Kurt Wall
2004-10-13 14:52 ` Christoph Hellwig
2004-10-13 15:56 ` Lee Revell
2004-10-13 16:13 ` Robert Love
2004-10-13 17:14 ` Martijn Sipkema
2004-10-13 3:55 ` Bill Huey
2004-10-12 22:00 ` Thomas Gleixner
2004-10-12 22:36 ` Bill Huey
2004-10-12 23:10 ` Thomas Gleixner
2004-10-12 23:33 ` Bill Huey
2004-10-12 23:37 ` Thomas Gleixner
2004-10-12 23:52 ` Bill Huey
2004-10-13 0:59 ` Valdis.Kletnieks
2004-10-10 12:21 ` John Richard Moser
2004-10-10 17:26 ` Lee Revell
2004-10-10 18:45 ` John Richard Moser
2004-10-10 20:20 ` Ingo Molnar
2004-10-10 20:44 ` John Richard Moser
2004-10-10 17:29 ` Daniel Walker
-- strict thread matches above, loose matches on Subject: below --
2004-10-09 11:38 John Hedditch
2004-10-09 22:54 Sven Dietrich
2004-10-11 15:28 Vadim Lebedev
2004-10-11 15:50 ` Eugeny S. Mints
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=20041010084633.GA13391@elte.hu \
--to=mingo@elte.hu \
--cc=abatyrshin@ru.mvista.com \
--cc=amakarov@ru.mvista.com \
--cc=dwalker@mvista.com \
--cc=emints@ru.mvista.com \
--cc=ext-rt-dev@mvista.com \
--cc=hzhang@ch.mvista.com \
--cc=linux-kernel@vger.kernel.org \
--cc=sdietrich@mvista.com \
--cc=yyang@ch.mvista.com \
/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