linux_dsm_epyc7002/Documentation/ABI/stable
Marek Marczykowski-Górecki 197ecb3802 xen/balloon: add runtime control for scrubbing ballooned out pages
Scrubbing pages on initial balloon down can take some time, especially
in nested virtualization case (nested EPT is slow). When HVM/PVH guest is
started with memory= significantly lower than maxmem=, all the extra
pages will be scrubbed before returning to Xen. But since most of them
weren't used at all at that point, Xen needs to populate them first
(from populate-on-demand pool). In nested virt case (Xen inside KVM)
this slows down the guest boot by 15-30s with just 1.5GB needed to be
returned to Xen.

Add runtime parameter to enable/disable it, to allow initially disabling
scrubbing, then enable it back during boot (for example in initramfs).
Such usage relies on assumption that a) most pages ballooned out during
initial boot weren't used at all, and b) even if they were, very few
secrets are in the guest at that time (before any serious userspace
kicks in).
Convert CONFIG_XEN_SCRUB_PAGES to CONFIG_XEN_SCRUB_PAGES_DEFAULT (also
enabled by default), controlling default value for the new runtime
switch.

Signed-off-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
2018-09-14 08:51:10 -04:00
..
firewire-cdev
o2cb
syscalls
sysfs-acpi-pmprofile
sysfs-bus-firewire
sysfs-bus-nvmem Documentation/ABI: document the nvmem sysfs files 2017-08-28 17:57:52 +02:00
sysfs-bus-usb docs-rst: fix usb cross-references 2017-04-11 14:41:29 -06:00
sysfs-bus-vmbus Drivers: hv: vmbus: add numa_node to sysfs 2018-07-29 08:09:56 +02:00
sysfs-bus-w1
sysfs-bus-xen-backend xen: export device state to sysfs 2018-08-28 17:37:40 -04:00
sysfs-class-backlight
sysfs-class-infiniband Documentation/ABI: update infiniband sysfs interfaces 2018-02-23 08:18:33 -07:00
sysfs-class-rfkill rfkill: Correctly document rkill subfolder range as >= 0 in sysfs-class-rfkill 2018-06-15 13:35:49 +02:00
sysfs-class-tpm
sysfs-class-ubi UBI: Add ro-mode sysfs attribute 2016-05-24 15:15:26 +02:00
sysfs-class-udc Documentation: ABI: sysfs-class-udc: remove duplicated entry 2017-06-13 13:21:04 +03:00
sysfs-devices Documentation: fix admin-guide doc refs 2017-10-12 11:13:28 -06:00
sysfs-devices-node docs/admin-guide/mm: start moving here files from Documentation/vm 2018-04-27 17:02:48 -06:00
sysfs-devices-system-cpu
sysfs-devices-system-xen_memory xen/balloon: add runtime control for scrubbing ballooned out pages 2018-09-14 08:51:10 -04:00
sysfs-driver-aspeed-vuart drivers/serial: Add driver for Aspeed virtual UART 2017-05-18 16:19:16 +02:00
sysfs-driver-dma-ioatdma dmaengine: ioatdma: Add ABI document 2017-08-21 21:40:40 +05:30
sysfs-driver-ib_srp
sysfs-driver-mlxreg-io Documentation/ABI: Add new attribute for mlxreg-io sysfs interfaces 2018-08-01 17:41:31 -07:00
sysfs-driver-qla2xxx
sysfs-driver-usb-usbtmc
sysfs-driver-w1_ds28e04
sysfs-driver-w1_ds28ea00
sysfs-firmware-efi-vars
sysfs-firmware-opal-dump
sysfs-firmware-opal-elog
sysfs-fs-orangefs
sysfs-hypervisor-xen doc,xen: document hypervisor sysfs nodes for xen 2017-06-15 08:50:15 +02:00
sysfs-module
sysfs-transport-srp
thermal-notification
vdso doc: ABI: vdso: update parse_vdso.c reference 2017-03-13 17:13:22 -06:00