SMP: ISR disable/enable vs. mutual exclustion
Sebastian Huber
sebastian.huber at embedded-brains.de
Mon Aug 26 07:15:44 UTC 2013
On 2013-08-24 04:10, Chris Johns wrote:
>> Thus the normal extract operation is not available on SMP. An extract
>> variant which needs also the chain control as a parameter must be used.
>
> I think a node may need a back pointer to the chain control that contains a
> lock. I suspect we cannot have a single score chain control structure for both
> protected and unprotected operations and support the current extract. I have
> not looked at all the uses of extract in the code so I do not know if the chain
> control is available and even it is I think the node should handle this.
In order to use the back pointer you have to lock the chain, so this cannot be
used. You have to know on which chain the node is.
--
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