All of lore.kernel.org
 help / color / mirror / Atom feed
From: Johann Obermayr <johann.obermayr@domain.hid>
To: xenomai@xenomai.org
Subject: Re: [Xenomai-help] mprotect in Xenomai
Date: Mon, 20 Jun 2011 17:29:34 +0200	[thread overview]
Message-ID: <4DFF675E.6080403@domain.hid> (raw)
In-Reply-To: <4DFF5FEE.8060901@domain.hid>

Am 20.06.2011 16:57, schrieb Gilles Chanteperdrix:
> On 06/20/2011 04:14 PM, Michael Thalmeier wrote:
>>   Hello !
>>
>>   We have a xenomai application that uses mprotect to change write
>>   protection in order to set and clear breakpoint codes.
>>   This works quite well (the code invoking mprotect switches to linux,
>>   but thats ok).
>>   The problem is that from time to time the realtime task executing code
>>   in the area changed with mprotect also switches domains to handle a page
>>   fault.
>>   Is there some functionality in xenomai to change memory protection not
>>   using mprotect ?
>>   Attached you find a short sample that can reproduce this problem.
> I am afraid this is platform dependent, on what architecture do you get
> this behaviour?
>
Hello,

Now we use x86 platform.
later we will use ARM9 or higher.
with  Xenomai 2.5.6 .

Thanks
   Johann



  reply	other threads:[~2011-06-20 15:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-20 14:14 [Xenomai-help] mprotect in Xenomai Michael Thalmeier
2011-06-20 14:57 ` Gilles Chanteperdrix
2011-06-20 15:29   ` Johann Obermayr [this message]
2011-06-21  9:08   ` Michael Thalmeier
2011-06-21 10:41     ` Gilles Chanteperdrix
2011-06-21 22:17     ` Gilles Chanteperdrix
2011-06-22  7:08       ` Michael Thalmeier

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=4DFF675E.6080403@domain.hid \
    --to=johann.obermayr@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.