linux_dsm_epyc7002/drivers/misc
Nadav Amit ae29783d33 vmw_balloon: Split refused pages
The hypervisor might refuse to inflate pages. While the balloon driver
handles this scenario correctly, a refusal to inflate a 2MB pages might
cause the same page to be allocated again later just for its inflation
to be refused again. This wastes energy and time.

To avoid this situation, split the 2MB page to 4KB pages, and then try
to inflate each one individually. Most of the 4KB pages out of the 2MB
should be inflated successfully, and the balloon is likely to prevent
the scenario of repeated refused inflation.

Reviewed-by: Xavier Deguillard <xdeguillard@vmware.com>
Signed-off-by: Nadav Amit <namit@vmware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-05-24 20:19:17 +02:00
..
altera-stapl misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
c2port misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
cardreader Char/Misc patches for 5.2-rc1 - part 2 2019-05-07 13:39:22 -07:00
cb710 misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
cxl misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
echo misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
eeprom
genwqe misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
habanalabs habanalabs: Update CPU DMA memory label name 2019-05-02 15:37:19 +03:00
ibmasm
lis3lv02d misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
lkdtm
mei mei: Convert to use DEFINE_SHOW_ATTRIBUTE macro 2019-05-21 16:51:52 +02:00
mic x86/pci: Clean up usage of X86_DEV_DMA_OPS 2019-04-24 13:12:05 +02:00
ocxl misc: remove redundant 'default n' from Kconfig-s 2019-05-24 18:00:41 +02:00
sgi-gru
sgi-xp misc: sgi-xp: Properly initialize buf in xpc_get_rsvd_page_pa 2019-05-24 19:00:54 +02:00
ti-st
vmw_vmci mm/gup: change GUP fast to use flags rather than a write 'bool' 2019-05-14 09:47:46 -07:00
ad525x_dpot-i2c.c
ad525x_dpot-spi.c
ad525x_dpot.c
ad525x_dpot.h
apds990x.c
apds9802als.c
atmel_tclib.c misc: atmel_tclib: Do not probe already used TCBs 2019-05-02 21:55:58 +02:00
atmel-ssc.c
bh1770glc.c
cs5535-mfgpt.c
ds1682.c
dummy-irq.c
enclosure.c
fastrpc.c Merge 5.1-rc6 into char-misc-next 2019-04-21 23:14:47 +02:00
fsa9480.c
hmc6352.c
hpilo.c
hpilo.h
ibmvmc.c
ibmvmc.h
ics932s401.c
ioc4.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
isl29003.c
isl29020.c
Kconfig vmw_balloon: Compaction support 2019-05-24 20:19:17 +02:00
kgdbts.c Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var 2019-04-25 22:23:06 +02:00
lattice-ecp3-config.c
Makefile soc: add aspeed folder and misc drivers 2019-04-29 09:36:34 -07:00
pch_phub.c
pci_endpoint_test.c misc: pci_endpoint_test: Fix test_reg_bar to be updated in pci_endpoint_test 2019-05-01 15:50:13 +01:00
phantom.c
pti.c
pvpanic.c
qcom-coincell.c
spear13xx_pcie_gadget.c
sram-exec.c
sram.c
sram.h
tifm_7xx1.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
tifm_core.c
tsl2550.c
vexpress-syscfg.c
vmw_balloon.c vmw_balloon: Split refused pages 2019-05-24 20:19:17 +02:00