All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Charles Clerdan <charles.clerdan@domain.hid>
Cc: armadeus-forum@domain.hid, xenomai@xenomai.org
Subject: Re: [Xenomai-help] Detect switch in secondary mode + mlockall = bug?
Date: Mon, 24 Jan 2011 13:34:02 +0100	[thread overview]
Message-ID: <4D3D71BA.4090204@domain.hid> (raw)
In-Reply-To: <4D3D6FF5.9050209@domain.hid>

Gilles Chanteperdrix wrote:
> Charles Clerdan wrote:
>> Hi,
>>
>> I'm trying to catch the signal SIGXCPU, in order to know when a task goes in
>> secondary mode.
>> I would like to know, why I have to comment the fonction mlockall.
> 
> http://www.xenomai.org/index.php/Request_for_information

Also, does the latency test run on your platform? Because if it does, it
shows that the bug is elsewhere: latency contains a call to mlockall and
registers a signal handler for SIGXCPU.

And if you want us to help you, you should tell us what happens if you
do not comment mlockall, because we can not guess it. See, we run
latency all the time, and obviously, we have no issue.

-- 
                                                                Gilles.


      reply	other threads:[~2011-01-24 12:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-24  9:54 [Xenomai-help] Detect switch in secondary mode + mlockall = bug? Charles Clerdan
2011-01-24 12:26 ` Gilles Chanteperdrix
2011-01-24 12:34   ` Gilles Chanteperdrix [this message]

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=4D3D71BA.4090204@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=armadeus-forum@domain.hid \
    --cc=charles.clerdan@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.