First  |  Prev |  Next  |  Last
Pages: 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721
[PATCH v4 05/12] Export __get_user_pages_fast.
KVM will use it to try and find a page without falling back to slow gup. That is why get_user_pages_fast() is not enough. Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/mm/gup.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/x86/mm/gup.c b/arch/x86/mm/gup.c index 7... 6 Jul 2010 13:23
[PATCH v4 11/12] Let host know whether the guest can handle async PF in non-userspace context.
If guest can detect that it runs in non-preemptable context it can handle async PFs at any time, so let host know that it can send async PF even if guest cpu is not in userspace. Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/include/asm/kvm_host.h | 1 + arch/x86/include/asm/kvm_para.h | 1 +... 6 Jul 2010 13:23
[PATCH v4 09/12] Retry fault before vmentry
When page is swapped in it is mapped into guest memory only after guest tries to access it again and generate another fault. To save this fault we can map it immediately since we know that guest is going to access the page. Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/include/asm/kvm_host.h | ... 6 Jul 2010 13:23
[PATCH v4 02/12] Add PV MSR to enable asynchronous page faults delivery.
Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/include/asm/kvm_host.h | 3 ++ arch/x86/include/asm/kvm_para.h | 4 +++ arch/x86/kvm/x86.c | 49 +++++++++++++++++++++++++++++++++++++- include/linux/kvm.h | 1 + 4 files changed, 55 insertions(+), 2 deletions(-) ... 6 Jul 2010 13:23
[PATCH v4 00/12] KVM: Add host swap event notifications for PV guest
KVM virtualizes guest memory by means of shadow pages or HW assistance like NPT/EPT. Not all memory used by a guest is mapped into the guest address space or even present in a host memory at any given time. When vcpu tries to access memory page that is not mapped into the guest address space KVM is notified about i... 6 Jul 2010 13:23
[PATCH v4 08/12] Inject asynchronous page fault into a guest if page is swapped out.
If guest access swapped out memory do not swap it in from vcpu thread context. Setup slow work to do swapping and send async page fault to a guest. Allow async page fault injection only when guest is in user mode since otherwise guest may be in non-sleepable context and will not be able to reschedule. Signed-... 6 Jul 2010 13:23
[PATCH v4 03/12] Add async PF initialization to PV guest.
Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/include/asm/kvm_para.h | 5 ++++ arch/x86/kernel/kvm.c | 49 +++++++++++++++++++++++++++++++++++++++ arch/x86/kernel/smpboot.c | 3 ++ include/linux/kvm_para.h | 2 + 4 files changed, 59 insertions(+), 0 deletions(-) ... 6 Jul 2010 13:23
[PATCH v4 10/12] Handle async PF in non preemptable context
If async page fault is received by idle task or when preemp_count is not zero guest cannot reschedule, so do sti; hlt and wait for page to be ready. vcpu can still process interrupts while it waits for the page to be ready. Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/kernel/kvm.c | 36 ++++++++... 6 Jul 2010 13:23
[PATCH v4 01/12] Move kvm_smp_prepare_boot_cpu() from kvmclock.c to kvm.c.
Async PF also needs to hook into smp_prepare_boot_cpu so move the hook into generic code. Signed-off-by: Gleb Natapov <gleb(a)redhat.com> --- arch/x86/include/asm/kvm_para.h | 1 + arch/x86/kernel/kvm.c | 11 +++++++++++ arch/x86/kernel/kvmclock.c | 13 +------------ 3 files changed, 13 in... 6 Jul 2010 13:23
[RFC 1/3 v3] mm: iommu: An API to unify IOMMU, CPU and device memory management
This patch contains the documentation for the API, termed the Virtual Contiguous Memory Manager. Its use would allow all of the IOMMU to VM, VM to device and device to IOMMU interoperation code to be refactored into platform independent code. Comments, suggestions and criticisms are welcome and wanted. Signed-... 6 Jul 2010 12:16
First  |  Prev |  Next  |  Last
Pages: 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721