diff options
author | Juergen Gross <[email protected]> | 2022-04-07 11:38:57 +0200 |
---|---|---|
committer | Boris Ostrovsky <[email protected]> | 2022-04-07 15:08:37 -0500 |
commit | 262fc47ac17461c8cdc71c70aff6c3ea45acb0b9 (patch) | |
tree | 4c3fe0de6f1876ea113056ea4fac29223291bb40 /mm/hugetlb.c | |
parent | de2ae403b4c0e79a3410e63bc448542fbb9f9bfc (diff) |
xen/balloon: don't use PV mode extra memory for zone device allocations
When running as a Xen PV guest use the extra memory (memory which isn't
allocated for the guest at boot time) only for ballooning purposes and
not for zone device allocations. This will remove some code without any
lack of functionality.
While at it move some code to get rid of another #ifdef.
Remove a comment which is stale since some time now.
Signed-off-by: Juergen Gross <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Boris Ostrovsky <[email protected]>
Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions