From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18427.6136.345161.941487@domain.hid> Date: Tue, 8 Apr 2008 09:00:08 +0200 In-Reply-To: References: <47F22E76.5020009@domain.hid> From: Gilles Chanteperdrix Subject: Re: [Adeos-main] When do I need to add local_irq_disable_hw/local_irq_enable_hw in root domain? List-Id: General discussion about Adeos List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Josh Zhao Cc: adeos-main@gna.org, rpm@xenomai.org 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.