mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Walker <dwalker@mvista.com>
To: Remy Bohmer <linux@bohmer.net>
Cc: Steven Rostedt <rostedt@goodmis.org>, Ingo Molnar <mingo@elte.hu>,
	Thomas Gleixner <tglx@linutronix.de>,
	RT <linux-rt-users@vger.kernel.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: [BUG on PREEMPT_RT, 2.6.23.1-rt5] in rt-mutex code and signals
Date: Sat, 17 Nov 2007 09:29:29 -0800	[thread overview]
Message-ID: <1195320569.25393.38.camel@imap.mvista.com> (raw)
In-Reply-To: <3efb10970711170909n3acca605j70525e36faf8da7f@mail.gmail.com>

On Sat, 2007-11-17 at 18:09 +0100, Remy Bohmer wrote:

> Actually, IMO, compat_semaphores behave like semaphores should behave,
> and thus the same as they behave on a non-RT kernel, and at the
> locations where the semaphores are now misused as mutexes on RT, we
> should replace them by differently-named-mutex-type-semaphores, or
> better: real-RT-mutexes..

The vast majority of semaphore are actually binary semaphores in the
Linux kernel .. So it's easier to mass convert semaphores to mutexes,
then address the ones that don't conform.. Usually they are converted to
the complete API in mainline..

> IMO this wrong usage of semaphores is solved by modifying the code
> that actually made proper use of the semaphores, and I think that if
> the naming matches the mainline kernel, we only need to patch the
> files that really need to be patched during the integration in
> mainline of the RT-patch.

As I say above, it's happen already.. Code is slowly getting converted
to the complete API or the code gets converted to use a binary semaphore
(or a mutex)..

Daniel


  reply	other threads:[~2007-11-17 17:33 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 15:51 Remy Bohmer
2007-11-16 20:20 ` Steven Rostedt
2007-11-16 23:02   ` Remy Bohmer
2007-11-16 23:37     ` Steven Rostedt
2007-11-17 11:44       ` Remy Bohmer
2007-11-17 14:08         ` Steven Rostedt
2007-11-17 15:06           ` Steven Rostedt
2007-11-17 15:36           ` Remy Bohmer
2007-11-19 12:55             ` Remy Bohmer
2007-11-19 13:54               ` Steven Rostedt
2007-11-17 16:22         ` Daniel Walker
2007-11-17 17:09           ` Remy Bohmer
2007-11-17 17:29             ` Daniel Walker [this message]
2007-11-17 17:46               ` Ingo Molnar
2007-11-17 17:55                 ` Daniel Walker
2007-11-17 18:04                   ` Ingo Molnar
2007-11-17 18:12                     ` Daniel Walker
2007-11-18 12:33                       ` Peter Zijlstra
2007-11-18 22:26                         ` David Chinner
2007-11-17 22:49                     ` Remy Bohmer
2007-11-19  7:25                   ` Jon Masters
2007-11-19 15:31                     ` Daniel Walker
2007-11-19 15:51                       ` Remy Bohmer
2007-11-19 16:11                         ` Daniel Walker
2007-11-20 16:43                 ` Daniel Walker
2007-11-20 20:37                   ` Ingo Molnar
2007-11-20 20:54                     ` Daniel Walker

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=1195320569.25393.38.camel@imap.mvista.com \
    --to=dwalker@mvista.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux@bohmer.net \
    --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®