freebsd-skq/sys/dev/xen/balloon
royger df33b5f02d xen/balloon: fix accounting of current memory pages on PVH
Using realmem on PVH is not realiable, since in this case the realmem value
is computed from Maxmem, which contains the higher memory address found. Use
HYPERVISOR_start_info->nr_pages instead, which is set by the hypervisor and
contains the exact number of memory pages assigned to the domain.

Sponsored by: Citrix Systems R&D
2014-09-30 17:38:21 +00:00
..
balloon.c xen/balloon: fix accounting of current memory pages on PVH 2014-09-30 17:38:21 +00:00