All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Josh Zhao <joshsystem@domain.hid>
Cc: adeos-main@gna.org, rpm@xenomai.org
Subject: Re: [Adeos-main] When do I need to add	local_irq_disable_hw/local_irq_enable_hw in root domain?
Date: Tue, 8 Apr 2008 09:00:08 +0200	[thread overview]
Message-ID: <18427.6136.345161.941487@domain.hid> (raw)
In-Reply-To: <a7575bba0804072345r40957042u51c37bb3e79de4a1@domain.hid>

Josh Zhao wrote:
 > Thanks,Philippe Gerum
 >      Well, I have another question:
 >       1.  Why I need take over the  linux syscall ,I think that it is only
 > for linux domain,so it looks no necessary to take over them?

This allows non root domain to use (part of) Linux syscall path. The
fact that Xenomai takes over Linux syscall path is what makes user-space
real-time possible.

 >       2. kernel/exit.c        ipipe_exit_notify(tsk);
 >     When a process exits, why adeos  has to take  over it ?

This allows non root domain to run per-process cleanups. Xenomai uses it
to destroy per-process objects and so gains a little comfort. You no
longer have to take care to intercept process termination and run
process cleanups, Xenomai does it automatically.

-- 


					    Gilles.


      reply	other threads:[~2008-04-08  7:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-01 10:28 [Adeos-main] When do I need to add local_irq_disable_hw/local_irq_enable_hw in root domain? Josh Zhao
2008-04-01 12:45 ` Philippe Gerum
2008-04-08  6:45   ` Josh Zhao
2008-04-08  7:00     ` 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=18427.6136.345161.941487@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=adeos-main@gna.org \
    --cc=joshsystem@domain.hid \
    --cc=rpm@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.