All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Xenomai <xenomai@xenomai.org>
Subject: Re: [Xenomai] RTDM rework (2)
Date: Mon, 05 May 2014 22:48:34 +0200	[thread overview]
Message-ID: <5367F922.6070808@xenomai.org> (raw)
In-Reply-To: <535FC7A8.3060508@siemens.com>

On 04/29/2014 05:39 PM, Jan Kiszka wrote:
> On 2014-04-25 14:00, Gilles Chanteperdrix wrote:
>> On 04/25/2014 12:40 PM, Jan Kiszka wrote:
>>> On 2014-04-05 14:14, Gilles Chanteperdrix wrote:
>>>> On 03/07/2014 09:19 PM, Gilles Chanteperdrix wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> here comes a second attempt at introducing a file descriptor support for
>>>>> other purposes than RTDM drivers.
>>>>>
>>>>> This time, the file descriptors are called rtdm_fd and are part of the
>>>>> RTDM API, but can be used by the POSIX personality. The actual RB-tree
>>>>> where they are stored is part of the xnsys_ppd structure, as this way it
>>>>> can be used by one of the RTDM and POSIX personalities, even if the
>>>>> current process is not bound to the other personality.
>>>>>
>>>>> I have posted the patches to the timerbench, switchtest, rtdm, xddp,
>>>>> iddp and bufp drivers to allow seeing the API changes.
>>>>
>>>> Hi Jan,
>>>>
>>>> ping?
>>>>
>>>> I have a pile of code needing to be rebased on these patches, I would
>>>> very much like to get all this merged before it bitrots too much.
>>>
>>> Finally looking into them now. Do you happen to have them in git
>>> somewhere? Or what was the revision they once applied to?
>>
>> Branch for-forge-rtdm-rework in xenomai-gch.git.
> 
> Thanks, worked through this now. I'm fine with the general approach. We
> should prepare it for merge.
> 
> Some minor things I stumbled over while reading:
> 
> - rtdm_context_user_p (I personally still prefer something like
>   "is_user") and rtdm_context_device (to_device?) are apparently public
>   APIs and, thus, need documentation
> - there are still things (arguments, functions etc.) called "context"
>   that are of type rtdm_fd, thus should rather be called "fd", no?

Hi Jan,

I have started cleaning up the patches, however, about the last remark,
do you propose to rename rtdm_private_to_context to rtdm_private_to_fd
for instance? I was thinking that rtdm_fd was the new context, so we
could keep the context everywhere? Keeping the old API names would limit
the need for wrappers.

Regards.

-- 
                                                                Gilles.


  parent reply	other threads:[~2014-05-05 20:48 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-07 20:19 [Xenomai] RTDM rework (2) Gilles Chanteperdrix
2014-03-07 20:20 ` [Xenomai] [PATCH 1/9] cobalt/rtdm: base protocol devices on xnid Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 2/9] cobalt/rtdm: base named devices on nucleus registry Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 3/9] cobalt/rtdm: extract fd API Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 4/9] drivers/testing: adapt timerbench after RTDM changes Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 5/9] drivers/testing: adapt switchtest " Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 6/9] drivers/testing: adapt rtdmtest " Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 7/9] drivers/ipc: adapt XDDP " Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 8/9] drivers/ipc: adapt IDDP " Gilles Chanteperdrix
2014-03-07 20:20   ` [Xenomai] [PATCH 9/9] drivers/ipc: adapt BUFP " Gilles Chanteperdrix
2014-04-05 12:14 ` [Xenomai] RTDM rework (2) Gilles Chanteperdrix
2014-04-25 10:40   ` Jan Kiszka
2014-04-25 12:00     ` Gilles Chanteperdrix
2014-04-29 15:39       ` Jan Kiszka
2014-04-30 12:44         ` Gilles Chanteperdrix
2014-05-05 20:48         ` Gilles Chanteperdrix [this message]
2014-05-06  5:14           ` Jan Kiszka
2014-05-10 16:11             ` Gilles Chanteperdrix
2014-05-11 20:08               ` Gilles Chanteperdrix
2014-05-14 14:30               ` Jan Kiszka
2014-05-14 15:23                 ` Gilles Chanteperdrix
2014-05-15 18:40                 ` Gilles Chanteperdrix
2014-05-15 19:35                   ` Jan Kiszka

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=5367F922.6070808@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=jan.kiszka@siemens.com \
    --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.