On 22/05/2019 22:34, Jiri Gaisler wrote:
Adding a pseudo-random delay of 0 - 15 clocks to each trap/interrupt causes the 
test to pass on all cpu configurations with the default time slice (50)..! I am 
not sure what this means - it could be a hidden race condition, the algorithm 
might need some jitter to work or it could still be a simulator issue.

Adding a pseudo-random delay to interrupts is probably not enough. Sometimes the atomic instructions are carried out with interrupts disabled. Would it be possible to add a pseudo-random delay to each of the instruction cycles per core?

--
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.hu...@embedded-brains.de
PGP     : Public key available on request.

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

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to