From: Jan Kiszka <kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] newbie question
Date: Wed, 19 Oct 2005 20:31:20 +0200 [thread overview]
Message-ID: <435690F8.2090803@domain.hid> (raw)
In-Reply-To: <17238.36242.970133.229781@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]
Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
> > Ignacio Garc~a P~rez wrote:
> > > Hi,
> > >
> > > I'm quite new to xenomai (switching from RTAI). I noticed that the
> > > latency_rt.ko module fails to start the timer if the posix skin module
> > > (xeno_posix.ko) is loaded. Is this the expected behaviour?
> > >
> >
> > Yes and no. There is a change pending in my tree that makes rt_time_start() a
> > bit smarter, trying its best effort to check whether the requested setting fits
> > any current one, in which case the call returns without error. In the case you
> > mentioned, both timer setups at nucleus level asked for oneshot, so this should
> > have been ok with this patch, instead of bailing out on error rather uselessly.
> > The UVM skin already enforces this for instance. I have just committed it to the
> > SVN repo.
>
> The problem is that you also have to make the module_exit function
> smarter and avoid to stop the system timer if another module is
> running. This means adding a sort of reference counter to the system
> timer.
>
Another reason to look for a different way. The timer is a global
resource, let's manage it at a central place: the nucleus (module
parameter) plus maybe some sysfs variable. The days are over when skins
could decide about the whole system on their own ;). And it's also much
more comprehensible for the user when (s)he only has to look at one
place for tuning this parameter.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 254 bytes --]
next prev parent reply other threads:[~2005-10-19 18:31 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-17 18:44 [Xenomai-help] compiling xenomai on x86_64 Jan Kiszka
2005-10-17 18:57 ` Heikki Lindholm
2005-10-17 19:16 ` Jan Kiszka
2005-10-17 19:59 ` Heikki Lindholm
2005-10-17 20:04 ` Philippe Gerum
2005-10-17 20:10 ` Jan Kiszka
2005-10-17 20:17 ` Philippe Gerum
2005-10-17 20:26 ` Philippe Gerum
2005-10-17 21:37 ` Jan Kiszka
2005-10-18 8:07 ` Jan Kiszka
2005-10-18 8:14 ` Gilles Chanteperdrix
2005-10-18 8:29 ` Jan Kiszka
2005-10-18 17:49 ` Gilles Chanteperdrix
2005-10-18 18:29 ` Jan Kiszka
2005-10-18 19:20 ` Gilles Chanteperdrix
2005-10-18 19:24 ` Jan Kiszka
2005-10-18 19:34 ` Gilles Chanteperdrix
2005-10-18 19:43 ` Jan Kiszka
2005-10-19 8:37 ` Jan Kiszka
2005-10-19 17:15 ` [Xenomai-help] newbie question Ignacio García Pérez
2005-10-19 17:34 ` Jan Kiszka
2005-10-19 17:44 ` Philippe Gerum
2005-10-19 18:16 ` Gilles Chanteperdrix
2005-10-19 18:31 ` Jan Kiszka [this message]
2005-10-19 18:20 ` [Xenomai-help] compiling xenomai on x86_64 Gilles Chanteperdrix
2005-10-17 20:29 ` Jan Kiszka
2005-10-17 20:38 ` Philippe Gerum
2005-10-17 23:32 ` Gilles Chanteperdrix
2005-10-18 5:32 ` Heikki Lindholm
2005-10-18 17:33 ` Gilles Chanteperdrix
2005-10-18 11:16 ` Jan Kiszka
2005-10-17 23:32 ` Gilles Chanteperdrix
2005-10-18 8:09 ` Jan Kiszka
2005-10-18 8:16 ` Gilles Chanteperdrix
2005-10-18 8:32 ` Jan Kiszka
-- strict thread matches above, loose matches on Subject: below --
2006-03-16 10:46 [Xenomai-help] newbie question Daniele Lugli
2006-03-16 11:18 ` Philippe Gerum
2006-03-16 11:38 ` Jan Kiszka
2006-03-16 12:33 ` Philippe Gerum
2007-08-06 15:15 rolfetas bambolas
2007-08-06 17:57 ` Gilles Chanteperdrix
2007-08-06 18:23 ` juanba romance
2007-08-06 19:29 ` Gilles Chanteperdrix
[not found] ` <e39c9190708061427y2d5ceed2td804b0990b88f282@domain.hid>
2007-08-06 21:37 ` Gilles Chanteperdrix
2007-08-06 19:27 ` 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=435690F8.2090803@domain.hid \
--to=kiszka@domain.hid \
--cc=gilles.chanteperdrix@xenomai.org \
--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.