linux/drivers/hv
K. Y. Srinivasan f766dc1ea5 Drivers: hv: balloon: Support 2M page allocations for ballooning
On Hyper-V it will be very efficient to use 2M allocations in the guest as this
makes the ballooning protocol with the host that much more efficient. Hyper-V
uses page ranges (start pfn : number of pages) to specify memory being moved
around and with 2M pages this encoding can be very efficient. However, when
memory is returned to the guest, the host does not guarantee any granularity.
To deal with this issue, split the page soon after a successful 2M allocation
so that this memory can potentially be freed as 4K pages.

If 2M allocations fail, we revert to 4K allocations.

In this version of the patch, based on the feedback from Michal Hocko
<mhocko@suse.cz>, I have added some additional commentary to the patch
description.

Cc: Michal Hocko <mhocko@suse.cz>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-29 09:03:21 -07:00
..
channel_mgmt.c Drivers: hv: vmbus: Handle channel rescind message correctly 2013-03-15 12:11:51 -07:00
channel.c Drivers: hv: remove unused variable in vmbus_recvpacket_raw() 2013-01-17 11:46:09 -08:00
connection.c Drivers: hv: Cleanup and consolidate reporting of build/version info 2013-01-17 11:41:50 -08:00
hv_balloon.c Drivers: hv: balloon: Support 2M page allocations for ballooning 2013-03-29 09:03:21 -07:00
hv_kvp.c Drivers: hv: kvp: Copy the address family information 2012-09-05 12:12:38 -07:00
hv_snapshot.c Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
hv_util.c Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
hv.c driver: hv: remove cast for kmalloc return value 2013-03-15 11:22:24 -07:00
hyperv_vmbus.h Drivers: hv: Capture the host build information 2013-01-17 11:41:49 -08:00
Kconfig x86, hyperv: HYPERV depends on X86_LOCAL_APIC 2013-02-12 17:46:23 -08:00
Makefile Drivers: hv: Add a new driver to support host initiated backup 2013-03-15 12:12:36 -07:00
ring_buffer.c Drivers: hv: Implement flow management on the send side 2013-01-17 11:41:49 -08:00
vmbus_drv.c Drivers: hv: vmbus: Use the new infrastructure for delivering VMBUS interrupts 2013-02-27 10:15:53 -08:00