Re: [PATCH] sched: Remove synchronize rcu/sched calls from _cpu_down

From: Peter Zijlstra
Date: Fri Jul 25 2014 - 08:45:11 EST


On Fri, Jul 25, 2014 at 05:26:08PM +0530, Kaushal Kumar wrote:
> synchronize_rcu calls fail hot-unplug latency tests since
> wait_rcu_gp can have very high latency, at times up to few
> hundred of millisecs.

So bloody what?

> These calls were earlier removed for the same reason by the
> commit 9ee349ad6d326df3633d43f54202427295999c47, but got added
> back as part of commit c4575f83b9fe87bb57b737bc8a667f746a20320a.

fatal: bad object c4575f83b9fe87bb57b737bc8a667f746a20320

> Moreover there should be no need for sync_sched() in _cpu_down
> as stop_machine() provides that barrier implicitly.

We should not rely on that, but also you've removed synchronize_rcu()
and this is not at all provided by stop_machine().

So NAK.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/