xen: switch extra memory accounting to use pfns
authorJuergen Gross <jgross@suse.com>
Fri, 4 Sep 2015 12:05:51 +0000 (14:05 +0200)
committerDavid Vrabel <david.vrabel@citrix.com>
Tue, 8 Sep 2015 15:28:06 +0000 (16:28 +0100)
commit626d7508664c4bc8e67f496da4387ecd0c410b8c
treeaa6f8868b6e18950a16dd8225c7e95a429a0dca9
parentcb9e444b5aaa900bb4310da411315b6947c53e37
xen: switch extra memory accounting to use pfns

Instead of using physical addresses for accounting of extra memory
areas available for ballooning switch to pfns as this is much less
error prone regarding partial pages.

Reported-by: Roger Pau Monné <roger.pau@citrix.com>
Tested-by: Roger Pau Monné <roger.pau@citrix.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/setup.c
drivers/xen/balloon.c
include/xen/page.h