All of lore.kernel.org
 help / color / mirror / Atom feed
* Does the xenomai regular thread whose schedule policy is SCHED_OTHER has more opportunities to occupy the cpu resources then the normal linux thread which managed by linux?
@ 2020-05-13  5:31 孙世龙
  2020-05-13  5:54 ` Jan Kiszka
  0 siblings, 1 reply; 2+ messages in thread
From: 孙世龙 @ 2020-05-13  5:31 UTC (permalink / raw)
  To: xenomai

Hi,
    I wonder that whether the xenomai regular thread whose schedule policy
is *SCHED_OTHER* *has more opportunities to occupy the cpu resources*
then the normal linux thread which managed by linux?
    Even if the linux thread with *SCHED_FIFO * schedule policy?

    Thank you for your attention.
    Look forward to hearing from you.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Does the xenomai regular thread whose schedule policy is SCHED_OTHER has more opportunities to occupy the cpu resources then the normal linux thread which managed by linux?
  2020-05-13  5:31 Does the xenomai regular thread whose schedule policy is SCHED_OTHER has more opportunities to occupy the cpu resources then the normal linux thread which managed by linux? 孙世龙
@ 2020-05-13  5:54 ` Jan Kiszka
  0 siblings, 0 replies; 2+ messages in thread
From: Jan Kiszka @ 2020-05-13  5:54 UTC (permalink / raw)
  To: 孙世龙, xenomai

On 13.05.20 07:31, 孙世龙 via Xenomai wrote:
> Hi,
>      I wonder that whether the xenomai regular thread whose schedule policy
> is *SCHED_OTHER* *has more opportunities to occupy the cpu resources*
> then the normal linux thread which managed by linux?
>      Even if the linux thread with *SCHED_FIFO * schedule policy?

Yes, that happens for Xenomai-attached thread when they enter the 
real-time domain, e.g. while holding a Xenomai lock. At that point, they 
are above any regular Linux thread by nature - because they have to in 
order to not break the scheduling requirements of the RT domain.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-13  5:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-13  5:31 Does the xenomai regular thread whose schedule policy is SCHED_OTHER has more opportunities to occupy the cpu resources then the normal linux thread which managed by linux? 孙世龙
2020-05-13  5:54 ` Jan Kiszka

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.