Re: [RFC PATCH v1 3/5] KVM: Add paravirt kvm_flush_tlb_others

From: Nikunj A Dadhania
Date: Wed May 02 2012 - 09:54:05 EST


On Wed, 02 May 2012 12:20:40 +0200, Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
> On Wed, 2012-05-02 at 14:21 +0530, Nikunj A Dadhania wrote:
> > [root@krm1 linux]# grep HAVE_RCU_TABLE .config
> > CONFIG_HAVE_RCU_TABLE_FREE=y
> > [root@krm1 linux]# make -j32 -s
> > mm/memory.c: In function âtlb_remove_table_oneâ:
> > mm/memory.c:315: error: implicit declaration of function â__tlb_remove_tableâ
> >
> > I suppose we need to have __tlb_remove_table. Trying to understand what
> > needs to be done there.
>
> Argh, I really should get back to unifying all mmu-gather
> implementations :/
>
> I think something like the below ought to sort it.
>
Thanks a lot.

> Completely untested though..
>

Tested-by: Nikunj A Dadhania <nikunj@xxxxxxxxxxxxxxxxxx>

Here is the comparison with the other version.

Gang pv_spin_flush pv_spin_flush_rcu
1VM 1.01 0.49 0.49
2VMs 7.07 4.04 4.06
4VMs 9.07 5.27 5.19
8VMs 9.99 7.65 7.80

Will test other use cases as well and report back.

Regards
Nikunj

--
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/