[PATCH 06/15] score: Use red-black tree for active global objects

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Apr 5 15:37:53 UTC 2016


----- Gedare Bloom <gedare at rtems.org> schrieb:
> Generally ok. I have a question and comment.
> 
> Would it make sense to unify the object management and use an rbtree
> in the uni/smp cases too?

You mean for Object_Control objects? No, this would be a performance problem I guess if you do a tree lookup each time you do a semaphore obtain/release instead of the table lookup.

-- 
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