kernel_optimize_test/drivers/xen
David Vrabel b2ac6aa8f7 xen/balloon: only hotplug additional memory if required
Now that we track the total number of pages (included hotplugged
regions), it is easy to determine if more memory needs to be
hotplugged.

Add a new BP_WAIT state to signal that the balloon process needs to
wait until kicked by the memory add notifier (when the new section is
onlined by userspace).

Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
---
v3:
- Return BP_WAIT if enough sections are already hotplugged.

v2:
- New BP_WAIT status after adding new memory sections.
2015-10-23 14:20:04 +01:00
..
events xen: MFN/GFN/BFN terminology changes for 4.3-rc0 2015-09-10 16:21:11 -07:00
xen-pciback xen-pciback: Add name prefix to global 'permissive' variable 2015-04-29 17:34:50 +01:00
xenbus xen/xenbus: Rename the variable xen_store_mfn to xen_store_gfn 2015-09-08 18:03:54 +01:00
xenfs xen: xensyms support 2015-08-20 12:24:25 +01:00
acpi.c
balloon.c xen/balloon: only hotplug additional memory if required 2015-10-23 14:20:04 +01:00
biomerge.c xen: Make clear that swiotlb and biomerge are dealing with DMA address 2015-09-08 17:10:52 +01:00
cpu_hotplug.c
dbgp.c
efi.c
evtchn.c
fallback.c
features.c
gntalloc.c Merge branch 'akpm' (patches from Andrew) 2015-09-10 18:19:42 -07:00
gntdev.c mm: mark most vm_operations_struct const 2015-09-10 13:29:01 -07:00
grant-table.c xen/grant-table: Remove unused macro SPP 2015-06-17 16:15:19 +01:00
Kconfig xen/PMU: Sysfs interface for setting Xen PMU mode 2015-08-20 12:24:26 +01:00
Makefile Initial ACPI support for arm64: 2015-04-24 08:23:45 -07:00
manage.c xen: Use correctly the Xen memory terminologies 2015-09-08 18:03:49 +01:00
mcelog.c
pci.c xen/pci: Try harder to get PXM information for Xen 2015-04-15 10:57:28 +01:00
pcpu.c
platform-pci.c
preempt.c xen/preempt: use need_resched() instead of should_resched() 2015-08-20 12:24:14 +01:00
privcmd.c Merge branch 'akpm' (patches from Andrew) 2015-09-10 18:19:42 -07:00
privcmd.h
swiotlb-xen.c Merge branch 'akpm' (patches from Andrew) 2015-09-10 18:19:42 -07:00
sys-hypervisor.c xen/PMU: Sysfs interface for setting Xen PMU mode 2015-08-20 12:24:26 +01:00
tmem.c xen/tmem: Use xen_page_to_gfn rather than pfn_to_gfn 2015-09-08 18:03:52 +01:00
xen-acpi-cpuhotplug.c Xen / ACPI / processor: Remove unneeded NULL check 2015-05-13 23:28:15 +02:00
xen-acpi-memhotplug.c
xen-acpi-pad.c
xen-acpi-processor.c ACPI / processor: Drop an unused argument of a cleanup routine 2015-07-22 22:11:16 +02:00
xen-balloon.c
xen-scsiback.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2015-07-04 14:13:43 -07:00
xen-selfballoon.c
xen-stub.c
xlate_mmu.c xen/privcmd: Further s/MFN/GFN/ clean-up 2015-09-08 18:03:54 +01:00