All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Mathew Benson <mathew.benson@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Performance monitoring question
Date: Mon, 1 Dec 2014 08:31:30 +0100	[thread overview]
Message-ID: <20141201073130.GQ2964@hermes> (raw)
In-Reply-To: <5389961F-2DC1-43AA-8FEA-2BD0D3A61B7E@gmail.com>

On Sun, Nov 30, 2014 at 10:39:56PM -0600, Mathew Benson wrote:
> I'm using the native skin. I understand there are things you can
> do to cause a user space task to fall back to the normal Linux
> scheduler. How do I know if this has happened? Will RT functions
> like semaphores fail with an incorrect mode failure?

No, Xenomai automatically switches user-space tasks to primary or
secondary mode when needed.

> Can I register a callback to be notified?
> 
> I'm asking because I added code to my project fully expecting it
> to kick it back to normal scheduler or cause timers to fail, but
> nothing. Everything still seems to be working just fine.
> Specifically, I'm making ioctl calls to access a webcam. So what
> can I do to verify that my tasks really are running on the rt
> scheduler?

See:
http://xenomai.org/2014/06/finding-spurious-relaxes/

-- 
					    Gilles.


  reply	other threads:[~2014-12-01  7:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-01  4:39 [Xenomai] Performance monitoring question Mathew Benson
2014-12-01  7:31 ` Gilles Chanteperdrix [this message]
2014-12-01 12:59   ` Mathew Benson

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=20141201073130.GQ2964@hermes \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=mathew.benson@gmail.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.