diff options
author | David Vrabel <david.vrabel@citrix.com> | 2015-07-22 16:50:37 +0300 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 16:20:31 +0300 |
commit | 4a69c909deb0dd3cae653d14ac0ff52d5440a19c (patch) | |
tree | 13c9a6a80d575d706e8b689604047d0591ffad91 /arch/arm/include/asm/xen/page.h | |
parent | 8edfcf882eb91ec9028c7334f90f6ef3db5b0fcf (diff) | |
download | linux-4a69c909deb0dd3cae653d14ac0ff52d5440a19c.tar.xz |
xen/balloon: pre-allocate p2m entries for ballooned pages
Pages returned by alloc_xenballooned_pages() will be used for grant
mapping which will call set_phys_to_machine() (in PV guests).
Ballooned pages are set as INVALID_P2M_ENTRY in the p2m and thus may
be using the (shared) missing tables and a subsequent
set_phys_to_machine() will need to allocate new tables.
Since the grant mapping may be done from a context that cannot sleep,
the p2m entries must already be allocated.
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Diffstat (limited to 'arch/arm/include/asm/xen/page.h')
0 files changed, 0 insertions, 0 deletions