diff options
author | Gleb Natapov <gleb@redhat.com> | 2011-02-01 14:21:47 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-04-06 14:15:55 +0400 |
commit | 0857b9e95c1af8bfe84630ef6747b9d4d61de4c6 (patch) | |
tree | df3892f624910d2a6b210e30549a6a82a79e5474 /arch/x86/kvm/i8259.c | |
parent | 9e02fb963352c5ad075d80dd3e852fbee9585575 (diff) | |
download | linux-0857b9e95c1af8bfe84630ef6747b9d4d61de4c6.tar.xz |
KVM: Enable async page fault processing
If asynchronous hva_to_pfn() is requested call GUP with FOLL_NOWAIT to
avoid sleeping on IO. Check for hwpoison is done at the same time,
otherwise check_user_page_hwpoison() will call GUP again and will put
vcpu to sleep.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/i8259.c')
0 files changed, 0 insertions, 0 deletions