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 0/5] Support for select v2.
Date: Sat, 9 Feb 2008 16:41:11 +0100	[thread overview]
Message-ID: <18349.51607.459245.139367@domain.hid> (raw)
In-Reply-To: <47A63D49.4050700@domain.hid>

Jan Kiszka wrote:
 > Gilles Chanteperdrix wrote:
 > > Hi,
 > > 
 > > after some tests, bug fixes and optimizations, here comes a second version of 
 > > the patch-set adding select support to xenomai posix skin.
 > > 
 > 
 > Puh, a lot of code, and my brain is still full of KGDB stuff I'm trying
 > to polish for mainline since days.
 > 
 > The approach looks consistent to me. I would just suggest to make the
 > whole thing configurable, so that it doesn't add overhead to systems
 > which do not use it.

I am getting back to this select stuff. So I have a question, would you
agree if the select support was made configurable, but if when this
support was enabled, support for select was added to vanilla
rtdm_event_t and rtdm_sem_t ? This would ease maintenance, since it
would avoid a lot of code duplication, without adding to much overhead
in my opinion (an empty list test when signaling the objects).

 > 
 > Out of curiosity: Did you already have a chance to compare a
 > multi-threaded demo application with one based on these new select services?
 > 
 > I guess your current test cases are built on top of RTnet, aren't they?
 > Would be nice, also for regression testing, to have some demo for
 > /examples, e.g. exploiting the CAN stack (because it has virtual CAN,
 > thus it is usable without hardware).

Ok, I had a look at the CAN stack, if I understand correctly when
receiving, the recv_sem defined in rcan_socket.h is used, and when
sending, the tx_sem defined in rtcan_dev.h is used. Can you confirm this
? 

-- 


					    Gilles Chanteperdrix.


  parent reply	other threads:[~2008-02-09 15:41 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 14:11 [Xenomai-core] [PATCH 0/5] Support for select v2 Gilles Chanteperdrix
2008-02-02 14:12 ` [Xenomai-core] [PATCH 1/5] select-like services support to xenomai core Gilles Chanteperdrix
2008-02-02 14:18   ` [Xenomai-core] [PATCH 5/5] RTDM: check file descriptor owner Gilles Chanteperdrix
2008-02-03 22:18     ` Jan Kiszka
2008-02-04  6:40       ` Gilles Chanteperdrix
2008-02-02 14:14 ` [Xenomai-core] [PATCH 2/5] select-like services support to rtdm Gilles Chanteperdrix
2008-02-02 14:15 ` [Xenomai-core] [PATCH 3/5] posix skin kernel-space support for user-space select Gilles Chanteperdrix
2008-02-02 14:16 ` [Xenomai-core] [PATCH 4/5] posix skin user-space support for select Gilles Chanteperdrix
2008-02-02 14:29 ` [Xenomai-core] [PATCH 0/5] Support for select v2 Jan Kiszka
2008-02-02 14:36   ` Gilles Chanteperdrix
2008-02-02 15:12   ` Gilles Chanteperdrix
2008-02-03 22:16 ` Jan Kiszka
2008-02-04  6:34   ` Gilles Chanteperdrix
2008-02-09 15:41   ` Gilles Chanteperdrix [this message]
2008-02-09 15:58     ` 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=18349.51607.459245.139367@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.