[PATCH 10/12] smp: Optimize Simple SMP scheduler

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Aug 19 18:53:03 UTC 2013


On 2013-08-19 20:42, Gedare Bloom wrote:
> That's good with me. I assumed you wanted to somehow encode both
> "!is_scheduled && is_transient" in this "is_in_the_air", but if all
> you need is to know when the thread is transient, then we should use
> "is_transient".

What this state encodes is:

The thread has an allocated processor (it is a heir or executing thread 
on exactly one processor) and the STATES_TRANSIENT is set (e.g. it is 
not ready and thus not a member of a scheduled or ready chain).

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.




More information about the devel mailing list