The dtrace_sync() allows to check that all CPUs have left probe context. Wihtout this
code the deadman check would based its assumption on the state of CPU that calls
deadman cyclics which is wrong.
Orabug:
26385102
Signed-off-by: Tomas Jedlicka <tomas.jedlicka@oracle.com>
Reviewed-by: Kris Van Hees <kris.van.hees@oracle.com>
static void dtrace_state_deadman(dtrace_state_t *state, ktime_t when)
{
-#ifdef FIXME
- /*
- * This may not be needed for Linux - we'll see.
- */
dtrace_sync();
-#endif
if (state != dtrace_anon.dta_state &&
time_after_eq(jiffies, state->dts_laststatus + dtrace_deadman_user))