Jan Kiszka wrote:
Hi,

analysing the watchdog characteristics in our scenarios, I just wondered
if it is SMP-aware (we have no SMP in use, it's a pure analytical concern).

The watchdog timeout is stored system-wide in nkpod->watchdog_trigger,
but it is based on a per-CPU clock (TSC). Is the tick IRQ bound to a
specific CPU in SMP scenarios so that this doesn't matter? Or am I just
overseeing some detail?


Good catch. This code was written before per-CPU ticking became the "official" implementation, so it needs to be updated.

Jan



------------------------------------------------------------------------

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core


--

Philippe.

_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to