You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit adds checks for memory misordering across calls to
smp_call_function_single() and also across returns in the case where
the caller waits. Misordering results in a splat.
[ paulmck: s/GFP_KERNEL/GFP_ATOMIC/ per kernel test robot feedback. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
if (WARN_ON_ONCE(smp_processor_id() != (uintptr_t)me))
277
+
structscf_check*scfcp=scfc_in;
278
+
279
+
if (likely(scfcp) &&WARN_ONCE(smp_processor_id() !=scfcp->scfc_cpu, "%s: Wanted CPU %d got CPU %d\n", __func__, scfcp->scfc_cpu, smp_processor_id())) {
257
280
atomic_inc(&n_errs);
258
-
scf_handler(NULL);
281
+
}
282
+
scf_handler(scfcp);
259
283
}
260
284
261
285
// Randomly do an smp_call_function*() invocation.
0 commit comments