Re: [PATCH 2/2] KVM: Convert read-only users of vm_list to RCU

Avi Kivity
2011-02-10T12:57:18Z

On 02/10/2011 02:56 PM, Avi Kivity wrote:
>> What's the benefit? The downside is a bit more complexity as you need an
>> additional callback handler.
>
>
> synchronize_rcu() can be very slow (its a systemwide operation), and
> mmu_shrink() can be called often on a loaded system.
>

In fact this just shows that vm_list is not a good candidate for rcu;
rcu is useful where most operations are reads, but if we discount stats,
most operations on vm_list are going to be writes.

--
error compiling committee.c: too many arguments to function