RE: [PATCH] Refresh TLB only when switch vcpu for powerpc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Oops.
This patch may fail when a kvm process switch to another core and then
switch back.

> -----Original Message-----
> From: Liu Yu-B13201 
> Sent: Monday, December 15, 2008 5:55 PM
> To: kvm-ppc@xxxxxxxxxxxxxxx
> Cc: Liu Yu-B13201
> Subject: [PATCH] Refresh TLB only when switch vcpu for powerpc
> 
> Some work such as TLB put/load on E500 is not necessary at 
> every process switch,
> which may take place frequently when host workload is heavy.
> 
> This patch add a refresh interface for powerpc.
> These kind of work can use it to refresh at vcpu switch.
> 
> Signed-off-by: Liu Yu <yu.liu@xxxxxxxxxxxxx>
> ---
>  arch/powerpc/include/asm/kvm_ppc.h |    1 +
>  arch/powerpc/kvm/e500.c            |    7 +++++--
>  arch/powerpc/kvm/e500_tlb.c        |   10 ++++------
>  arch/powerpc/kvm/e500_tlb.h        |    3 +--
>  arch/powerpc/kvm/powerpc.c         |    9 +++++++++
>  5 files changed, 20 insertions(+), 10 deletions(-)
> 
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM Development]     [KVM ARM]     [KVM ia64]     [Linux Virtualization]     [Linux USB Devel]     [Linux Video]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux