diff options
author | Avi Kivity <avi@qumranet.com> | 2007-02-12 00:54:46 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 09:48:41 -0800 |
commit | 8d0be2b3bf4a55606967d7d84e56c52521e94333 (patch) | |
tree | 25708d831300f807a29ed90fae7a6e692ff392be /drivers/kvm/kvm.h | |
parent | 133de9021d2988f3fbdad84c2d26484c7a757526 (diff) |
[PATCH] KVM: VMX: add vcpu_clear()
Like the inline code it replaces, this function decaches the vmcs from the cpu
it last executed on. in addition:
- vcpu_clear() works if the last cpu is also the cpu we're running on
- it is faster on larger smps by virtue of using smp_call_function_single()
Includes fix from Ingo Molnar.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/kvm/kvm.h')
0 files changed, 0 insertions, 0 deletions