From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] my tick takes a break !!
Date: Mon, 24 Apr 2006 16:32:09 +0200 [thread overview]
Message-ID: <444CE169.6010000@domain.hid> (raw)
In-Reply-To: <17484.56747.936438.531627@domain.hid>
Gilles Chanteperdrix wrote:
> Philippe Gerum wrote:
> > Gilles Chanteperdrix wrote:
> > > Philippe Gerum wrote:
> > > > If you feel lucky, the 3rd option coming with v2.2 is to get rid of the
> > > > UVM and use the new direct call interface now available from user-space
> > > > for the VxWorks skin. In such a case, you need 1) the development
> > > > trunk/, 2) to load xeno_vxworks, 3) work with the new VxWorks interface
> > > > from user-space exactely the way one would use the existing native or
> > > > POSIX skin.
> > >
> > > But round-robin scheduling will not work for threads in secondary mode,
> > > whereas it works with UVM.
> > >
> >
> > Sorry, I don't get the point. If it works in secondary mode under the
> > UVM, it will work outside the UVM too, since we have shadow threads
> > scheduled by Linux, in any case.
>
> A thread in secondary mode in Xenomai kernel-space nucleus, is seen as
> the root thread, which never has the XNRRB bit set.
>
> The UVM nucleus, on the other hand, has no notion of primary or
> secondary mode, when a thread is running in secondary mode it still is
> the current thread, so may have the XNRRB bit set.
>
Indeed, but as a user, you must _not_ rely on this internal knowledge of
such "UVM over shadow mapping", never, ever. The UVM must been seen as
having the very same semantics than direct call interfaces, except that
almost every nucleus action is occuring/confined within a single process
context when possible, hence the virtual machine thingy. The fact you
describe is a hidden side-effect which must never be taken for granted,
otherwise, transitioning from the UVM to direct call interfaces is going
to be extremely painful...
--
Philippe.
next prev parent reply other threads:[~2006-04-24 14:32 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-24 9:49 [Xenomai-help] my tick takes a break !! Thomas, Brieuc (GE Healthcare)
2006-04-24 13:27 ` Gilles Chanteperdrix
2006-04-24 13:37 ` Philippe Gerum
2006-04-24 13:44 ` Gilles Chanteperdrix
2006-04-24 14:06 ` Philippe Gerum
2006-04-24 14:16 ` Gilles Chanteperdrix
2006-04-24 14:32 ` Philippe Gerum [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-04-21 16:16 Thomas, Brieuc (GE Healthcare)
2006-04-23 12:53 ` Gilles Chanteperdrix
2006-04-20 9:23 Thomas, Brieuc (GE Healthcare)
2006-04-19 16:55 Thomas, Brieuc (GE Healthcare)
2006-04-19 20:34 ` Gilles Chanteperdrix
2006-04-21 13:56 ` Gilles Chanteperdrix
2006-04-19 15:05 Thomas, Brieuc (GE Healthcare)
2006-04-19 15:18 ` Gilles Chanteperdrix
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=444CE169.6010000@domain.hid \
--to=rpm@xenomai.org \
--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.