MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <17955.60369.329951.993803@domain.hid> Date: Mon, 16 Apr 2007 23:34:09 +0200 In-Reply-To: <200704161627.01925.jweber@domain.hid> References: <200704161449.27506.jweber@domain.hid> <200704161520.53584.jweber@domain.hid> <17955.57309.169970.14672@domain.hid> <200704161627.01925.jweber@domain.hid> From: Gilles Chanteperdrix Subject: Re: [Xenomai-help] page faults List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jeff Weber Cc: Xenomai Help Jeff Weber wrote: > On Monday 16 April 2007 15:43, Gilles Chanteperdrix wrote: > > If the fault you observe is due to an access to some memory after a call > > to fork or one of its derivative (such as system, popen, etc...), the > > patch would have copied the whole real-time process address space at > > fork time instead of setting up COW mappings. > No process forks are involved. Though mlockall() was called from Linux > main(), and the page fault was encountered by a separate Xenomai task. > Here's the task history: The fork may well be hidden in some library. The best way to know if there is really no fork is to register a callback with pthread_atfork. -- Gilles Chanteperdrix.