From: Ingo Molnar <mingo@elte.hu>
To: Gregory Haskins <ghaskins@novell.com>
Cc: linux-kernel@vger.kernel.org, linux-rt-users@vger.kernel.org
Subject: Re: [PATCH 1/2] RT: Preemptible Function-Call-IPI Support
Date: Tue, 31 Jul 2007 16:22:35 +0200 [thread overview]
Message-ID: <20070731142235.GB22209@elte.hu> (raw)
In-Reply-To: <46AEEEA50200005A00028665@mcclure.wal.novell.com>
* Gregory Haskins <ghaskins@novell.com> wrote:
> > as far as the prioritization of function calls goes, _that_ makes
> > sense, but it should not be a separate API but should be done to our
> > normal workqueue APIs. That not only extends the effects of
> > priorities to all current workqueue using kernel subsystems, but
> > also keeps the API more unified. We really dont want to have too
> > many -rt specific APIs.
>
> I agree with you that having some kind of priority and cpu-binding
> specifiers for work-queues would be very cool indeed. However, note
> that I didn't actually introduce a new API(*), per se. I simply
> worked under the existing smp_call_function[_single]() API.
>
> Using the smp_call_functions is critical design factor, however. I
> really want clients of this function to seamlessly transition to
> threaded mode. [...]
well, 'clients' of this function are low-level architectural bits like
the scheduler and the TLB flush code which stays atomic nevertheless.
smp_call_function() is _not_ a true generic framework and to 'thread' it
is wrong and misplaced and leads to the kind of over-complification that
your patch shows. Please work based on the workqueue APIs.
Ingo
next prev parent reply other threads:[~2007-07-31 14:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-31 12:11 [PATCH 1/2] RT: Preemptible Function-Call-IPI Support Gregory Haskins
2007-07-31 14:22 ` Ingo Molnar [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-07-31 13:24 [PATCH 0/2][RFC] VFCIPI v3 Gregory Haskins
2007-07-31 13:24 ` [PATCH 1/2] RT: Preemptible Function-Call-IPI Support Gregory Haskins
2007-07-31 11:44 Gregory Haskins
[not found] <20070730211350.5162.99143.stgit@novell1.haskins.net>
[not found] ` <20070730211539.5162.87483.stgit@novell1.haskins.net>
[not found] ` <20070731091903.GA15822@elte.hu>
2007-07-31 9:21 ` Ingo Molnar
2007-07-31 9:25 ` Ingo Molnar
2007-07-31 14:26 ` Gregory Haskins
2007-07-31 14:26 ` Gregory Haskins
2007-07-31 20:14 ` Gregory Haskins
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=20070731142235.GB22209@elte.hu \
--to=mingo@elte.hu \
--cc=ghaskins@novell.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rt-users@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox