linux/arch/x86
Vitaly Kuznetsov 2a18b7e7cd KVM: async_pf: Inject 'page ready' event only if 'page not present' was previously injected
'Page not present' event may or may not get injected depending on
guest's state. If the event wasn't injected, there is no need to
inject the corresponding 'page ready' event as the guest may get
confused. E.g. Linux thinks that the corresponding 'page not present'
event wasn't delivered *yet* and allocates a 'dummy entry' for it.
This entry is never freed.

Note, 'wakeup all' events have no corresponding 'page not present'
event and always get injected.

s390 seems to always be able to inject 'page not present', the
change is effectively a nop.

Suggested-by: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Message-Id: <20200610175532.779793-2-vkuznets@redhat.com>
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=208081
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-06-11 12:35:19 -04:00
..
boot Misc dependency fixes, plus a documentation update about memory protection keys support. 2020-06-01 13:45:59 -07:00
configs compiler: remove CONFIG_OPTIMIZE_INLINING entirely 2020-04-07 10:43:42 -07:00
crypto There are a lot of objtool changes in this cycle, all across the map: 2020-06-01 13:13:00 -07:00
entry ARM: 2020-06-03 15:13:47 -07:00
events perf/x86/rapl: Add AMD Fam17h RAPL support 2020-05-28 07:58:56 +02:00
hyperv mm: remove the pgprot argument to __vmalloc 2020-06-02 10:59:11 -07:00
ia32 Merge branch 'work.set_fs-exec' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2020-06-01 16:21:46 -07:00
include KVM: async_pf: Inject 'page ready' event only if 'page not present' was previously injected 2020-06-11 12:35:19 -04:00
kernel x86/kvm: Remove defunct KVM_DEBUG_FS Kconfig 2020-06-04 14:12:36 -04:00
kvm KVM: async_pf: Inject 'page ready' event only if 'page not present' was previously injected 2020-06-11 12:35:19 -04:00
lib X86 timer specific updates: 2020-06-03 10:18:09 -07:00
math-emu
mm Merge branch 'akpm' (patches from Andrew) 2020-06-03 20:24:15 -07:00
net bpf, i386: Remove unneeded conversion to bool 2020-05-07 16:29:14 +02:00
oprofile
pci pci-v5.6-changes 2020-01-31 14:48:54 -08:00
platform This tree cleans up various aspects of the UV platform support code, 2020-06-01 14:48:20 -07:00
power cpu/hotplug: Remove disable_nonboot_cpus() 2020-05-07 15:18:40 +02:00
purgatory
ras
realmode SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
tools .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
um take the dummy csum_and_copy_from_user() into net/checksum.h 2020-05-29 16:11:50 -04:00
video
xen More EFI changes for v5.8: 2020-05-25 15:11:14 +02:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
Kbuild
Kconfig x86/kvm: Remove defunct KVM_DEBUG_FS Kconfig 2020-06-04 14:12:36 -04:00
Kconfig.assembler x86/delay: Introduce TPAUSE delay 2020-05-07 16:06:20 +02:00
Kconfig.cpu x86/cpu: Detect VMX features on Intel, Centaur and Zhaoxin CPUs 2020-01-13 18:02:53 +01:00
Kconfig.debug x86: mm: use ARCH_HAS_DEBUG_WX instead of arch defined 2020-06-03 20:09:50 -07:00
Makefile x86/boot/build: Make 'make bzlilo' not depend on vmlinux or $(obj)/bzImage 2020-04-21 18:10:28 +02:00
Makefile_32.cpu
Makefile.um