From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 3 Mar 2021 22:33:45 +0800 From: Fino Meng Subject: Re: Linux and Xenomai task Message-ID: <20210303143344.GA19957@linux.intel.com> References: <20210303120206.GA19836@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Leandro Bucci Cc: xenomai@xenomai.org Wed, Mar 03, 2021 at 01:14:42PM +0100, Leandro Bucci wrote: > thanks for the reply, I mean if I have 4 real time tasks assigned to a > single core and a linux process assigned to another core, the linux process > is not interrupted right? I think so, ftrace can show that on different cores, they are running in parallel. but if u put all the 4 rt-threads onto one core, they cannot run in parallel. assume all are SCHED_FIFO, higher priority thread will preempt the lowers. > > Il mer 3 mar 2021, 13:03 Fino Meng ha scritto: > > > O Wed, Mar 03, 2021 at 11:24:00AM +0100, Leandro Bucci via Xenomai wrote: > > > hello, I would like confirmation to this question. If I run a Linux > > > process on a certain processor # 0 and on another processor task of > > Xenomai > > > # 1, will the Xenomai tasks never interrupt the execution of the Linux > > task? > > > > by cpu isolation , cpu affinity and irq affinity, > > > > real-time threads are locked to its own core, should not migration, > > > > when u say interrupt, do u mean non-rt Linux task are interrupt by IRQ? > > > > BR fino > >