]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: Drop FOLL_GET in GUP when doing async page fault
authorchai wen <chaiw.fnst@cn.fujitsu.com>
Mon, 14 Oct 2013 14:22:33 +0000 (22:22 +0800)
committerGleb Natapov <gleb@redhat.com>
Tue, 15 Oct 2013 10:43:37 +0000 (13:43 +0300)
commitf2e106692d5189303997ad7b96de8d8123aa5613
treebe15cad31bc5701570a571b3be04e299bb4ac547
parenta7efdf6bec34f1a693a926ebd08de6ba6e700dff
KVM: Drop FOLL_GET in GUP when doing async page fault

Page pinning is not mandatory in kvm async page fault processing since
after async page fault event is delivered to a guest it accesses page once
again and does its own GUP.  Drop the FOLL_GET flag in GUP in async_pf
code, and do some simplifying in check/clear processing.

Suggested-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Gu zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: chai wen <chaiw.fnst@cn.fujitsu.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/x86.c
include/linux/kvm_host.h
include/trace/events/kvm.h
virt/kvm/async_pf.c