From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <4C98C4DF.6070904@domain.hid> Date: Tue, 21 Sep 2010 16:44:47 +0200 From: Gilles Chanteperdrix MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Fwd: isolate realtime and Linux by CPU on SMP system 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@xenomai.org Jeff Weber wrote: > What is the best method for segregating Xenomai and Linux by CPU? I was > unable to do this cleanly using /proc/xenomai/affinity for Xenomai, > together with the Linux isolcpus boot option. Details below. I have no definite answer, I have not checked. What I suspect, however, is that when you try and force an affinity for a Xenomai thread, it tries and apply this affinity in secondary mode, i.e. as a plain Linux thread. So, will fail if the target thread is not in the "isolcpus" mask. In other words, a Xenomai thread can not run on a CPU where Linux threads can not run. -- Gilles.