Thread (78 messages) 78 messages, 10 authors, 2018-03-27

Re: [RFC PATCH for 4.15 18/24] membarrier: provide SHARED_EXPEDITED command

From: Mathieu Desnoyers <hidden>
Date: 2017-11-15 01:35:34
Also in: lkml

----- On Nov 14, 2017, at 3:04 PM, Mathieu Desnoyers mathieu.desnoyers-vg+e7yoeK/dWk0Htik3J/w@public.gmane.org wrote:
[...]
+	if (!fallback) {
+		smp_call_function_many(tmpmask, ipi_mb, NULL, 1);
+		free_cpumask_var(tmpmask);
+	}
Testing with preempt debugging options showed that I need to
disable preemption around smp_call_function_many(). The membarrier
private expedited command in 4.14 is also affected. I will add a
fix to the series covering that case separately, and CC stable.

Thanks,

Mathieu

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help