All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] [PATCH 00/12] Generic fast xnsynch support & more
Date: Fri, 17 Oct 2008 14:51:03 +0200	[thread overview]
Message-ID: <48F88A37.7050509@domain.hid> (raw)
In-Reply-To: <48F888A2.7010404@domain.hid>

Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
>> Jan Kiszka wrote:
>>> Here comes a significantly reworked patch series to improve fast mutex
>>> support of Xenomai.
>>>
>>> This approach now introduces a generic fast xnsynch core and converts
>>> the existing POSIX implementation over. It also comes with a second
>>> user, the Native skin. Additionally, it improves xeno_get_current via
>>> a TLS variable and addresses the issue that threads in secondary mode
>>> acquiring an uncontended mutex need to be migrated first.
>>>
>>> At this chance, the TLS optimization is also applied on self-lookups of
>>> task handles (Native, VRTX and VxWorks). And I included my
>>> SMP-by-default patch for user libs which is highly recommended to reduce
>>> the risk of accidental code breakage on SMP with the new mutex code.
>> A minor remark. This is the third round of patches for fast mutexes, and
>>  each round, you submit even more changes to review than the previous
>> round. If I doubted of your honesty, I could think that you are trying
>> to dilute some questionable changes into more changes so that they get
>> unnoticed.
> 
> May I recall the changelog of this round? In short:
> 
>  - generic xnsynch
>  - fixed prio-inversion when coming from secondary mode
> 
> These are major changes, addressing specifically the NACKs of the
> previous rounds.
> 
> If you find "questionable changes", please point them out. So far I only
> recall the discussion about lockcnt maintenance policy, and I will try
> to sort that one out.

The problem is that it took me about one hour reviewing your 12 patches
(I know, I am a slow guy), and that I am not even sure that I saw all
the changes.

The lockcnt change in patch 8 for instance is not even mentioned in the
patch comments, and it is only because I originally did not understand
the change in rt_cond_wait_inner that I now know about this change.

> 
>> Could we focus on a small set of changes, reach consensus, merge them,
>> and then move to the next set of changes?
> 
> No problem. Maybe I missed or forgot the clear OK for patches 1..4 to
> commit them, but I will now soon. Moreover, I just felt uncomfortable
> with merging patch 5 without having written to following ones.

I think Philippe should merge the patches.

-- 
                                                 Gilles.


  reply	other threads:[~2008-10-17 12:51 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-16 15:46 [Xenomai-core] [PATCH 00/12] Generic fast xnsynch support & more Jan Kiszka
2008-10-16 15:46 ` [Xenomai-core] [PATCH 01/12] Generic thread registration Jan Kiszka
2008-10-16 19:26   ` Gilles Chanteperdrix
2008-10-16 21:55     ` Jan Kiszka
2008-10-16 15:46 ` [Xenomai-core] [PATCH 02/12] Handle-based xeno_get_current service Jan Kiszka
2008-10-16 19:36   ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 03/12] Remove xnarch_atomic_intptr Jan Kiszka
2008-10-16 19:37   ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 04/12] Spread xeno_set_current under all skins Jan Kiszka
2008-10-16 19:38   ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 05/12] Factor out xnsynch_acquire/release Jan Kiszka
2008-10-16 19:46   ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 06/12] Lockless fast path for xnsynch_acquire/release Jan Kiszka
2008-10-16 19:57   ` Gilles Chanteperdrix
2008-10-16 21:55     ` Jan Kiszka
2008-10-16 21:58       ` Gilles Chanteperdrix
2008-10-16 22:07         ` Jan Kiszka
2008-10-16 22:12           ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 07/12] Convert POSIX skin to fast xnsynch Jan Kiszka
2008-10-16 20:05   ` Gilles Chanteperdrix
2008-10-16 21:56     ` Jan Kiszka
2008-10-16 15:46 ` [Xenomai-core] [PATCH 08/12] Use fast xnsynch with native skin Jan Kiszka
2008-10-16 20:13   ` Gilles Chanteperdrix
2008-10-16 22:53     ` Jan Kiszka
2008-10-17  9:07       ` Gilles Chanteperdrix
2008-10-17 10:56         ` Jan Kiszka
2008-10-17 10:58           ` Gilles Chanteperdrix
2008-10-17 11:11             ` Jan Kiszka
2008-10-17 11:14             ` Gilles Chanteperdrix
2008-10-17 11:21               ` Jan Kiszka
2008-10-17 11:37                 ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 09/12] Optionally replace pthread_getspecific with TLS variables Jan Kiszka
2008-10-16 20:18   ` Gilles Chanteperdrix
2008-10-16 22:26     ` Jan Kiszka
2008-10-17 15:02       ` Jan Kiszka
2008-10-16 15:46 ` [Xenomai-core] [PATCH 10/12] Report current shadow thread mode to user space Jan Kiszka
2008-10-16 20:23   ` Gilles Chanteperdrix
2008-10-16 23:10     ` Jan Kiszka
2008-10-17  7:32       ` Jan Kiszka
2008-10-16 15:46 ` [Xenomai-core] [PATCH 11/12] Ensure mode switch in mutex fast paths Jan Kiszka
2008-10-16 20:27   ` Gilles Chanteperdrix
2008-10-16 15:46 ` [Xenomai-core] [PATCH 12/12] Enable SMP support for user libs by default Jan Kiszka
2008-10-16 20:29   ` Gilles Chanteperdrix
2008-10-16 22:14     ` Jan Kiszka
2008-10-16 16:21 ` [Xenomai-core] [PATCH 00/12] Generic fast xnsynch support & more Gilles Chanteperdrix
2008-10-17 12:28 ` Gilles Chanteperdrix
2008-10-17 12:44   ` Jan Kiszka
2008-10-17 12:51     ` Gilles Chanteperdrix [this message]
2008-10-17 13:31       ` Jan Kiszka
2008-10-17 13:36       ` Philippe Gerum

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=48F88A37.7050509@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@domain.hid \
    --cc=xenomai@xenomai.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.