<div dir="ltr">I understand. Thanks for the quick response!</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 17, 2021 at 11:58 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 17/05/2021 08:17, Richi Dubey wrote:<br>
> <br>
> Can someone please explain this behavior of EDF SMP Scheduler on a 4 CPU <br>
> system, with INIT task pinned to cpu 0:<br>
> <br>
> <br>
> Before Task 3 (Priority 6, Affined to CPU 3) arrival:<br>
> <br>
> CPU 1 is executing: Task 1 (Priority 5, Affined to CPU 1)<br>
> CPU 2 is executing: Task 2 (Priority 7, Affined to CPU 2)<br>
> CPU 3 is executing: Task 0 (Priority 3, Affined to ALL)<br>
> <br>
> After Task 3 arrival:<br>
> CPU 1 is executing: Task 1 (Priority 5, Affined to CPU 1)<br>
> CPU 2 is executing: Task 0 (Priority 3, Affined to ALL)<br>
> CPU 3 is executing: Task 3 (Priority 6, Affined to CPU 3)<br>
> <br>
> How did Task 3 force Task 0 out of its CPU when Task 0 has a higher <br>
> priority? <br>
<br>
Task 0 still has a processor, it just moved from CPU 3 to 2. Task 3 can <br>
only use CPU 3.<br>
<br>
> Is thread helping involved?<br>
<br>
No, thread helping is only involved if you use mutexes.<br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax: +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
</blockquote></div>