Re: [PATCH v2 tip/core/rcu 0/13] Miscellaneous fixes for 4.12
From: Christian Borntraeger
Date: Wed Apr 19 2017 - 07:48:34 EST
On 04/19/2017 01:28 PM, Peter Zijlstra wrote:
>
> So the thing Maz complained about is because KVM assumes
> synchronize_srcu() is 'free' when there is no srcu_read_lock() activity.
> This series 'breaks' that.
Why is such a behaviour change not mentioned in the cover letter?
I could not find anything in the patch descriptions that would
indicate a slowdown. How much slower did it get?
But indeed, there are several places at KVM startup which have been
reworked to srcu since normal rcu was too slow for several usecases.
(Mostly registering devices and related data structures at startup,
basically the qemu/kvm coldplug interaction)
>
> I've not looked hard enough at the new SRCU to see if its possible to
> re-instate that feature.
>