From: Fino Meng <fino.meng@linux.intel.com>
To: Leandro Bucci <guestleandro11@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: Linux and Xenomai task
Date: Wed, 3 Mar 2021 22:33:45 +0800 [thread overview]
Message-ID: <20210303143344.GA19957@linux.intel.com> (raw)
In-Reply-To: <CAFZ-hKhJoEq4j-+35qSjMPCpFNYKL3GqUkSE0j3iaQZ-4crKrA@mail.gmail.com>
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 <fino.meng@linux.intel.com> 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
> >
prev parent reply other threads:[~2021-03-03 14:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-03 10:24 Linux and Xenomai task Leandro Bucci
2021-03-03 12:02 ` Fino Meng
2021-03-03 12:14 ` Leandro Bucci
2021-03-03 14:33 ` Fino Meng [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=20210303143344.GA19957@linux.intel.com \
--to=fino.meng@linux.intel.com \
--cc=guestleandro11@gmail.com \
--cc=xenomai@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.