]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] i386: PARAVIRT: add flush_tlb_others paravirt_op
authorJeremy Fitzhardinge <jeremy@goop.org>
Wed, 2 May 2007 17:27:15 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:15 +0000 (19:27 +0200)
commitdb08d585d07cbc6a734f1a83f3c055abd7339621
tree77ca2c6771e946aa926cb21c06702fdc7d230364
parente2b12a451431d8f252b9f4e792fbaef58e1197e7
[PATCH] i386: PARAVIRT: add flush_tlb_others paravirt_op

This patch adds a pv_op for flush_tlb_others.  Linux running on native
hardware uses cross-CPU IPIs to flush the TLB on any CPU which may
have a particular mm's pagetable entries cached in its TLB.  This is
inefficient in a paravirtualized environment, since the hypervisor
knows which real CPUs actually contain cached mappings, which may be a
small subset of a guest's VCPUs.

Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/i386/kernel/paravirt.c
arch/i386/kernel/smp.c
include/asm-i386/paravirt.h
include/asm-i386/tlbflush.h