Move boot time allocated hugepages to ZONE_NORMAL if hugepage_no_mirror
Intel inclusion category: feature bugzilla: https://gitee.com/openeuler/intel-kernel/issues/I7V2E8 CVE: NA ------------------------------------- When kernelcore=mirror, non-mirrored memory, including those boot time allocated non-mirrored hugetlb pages, will be put into ZONE_MOVABLE, This is not desirable for virtual machine device passthrough, because device passthrough requires pinning guest memory. However, ZONE_MOVABLE hugetlb pages can't be pinned. Move bootmem allocated non-mirrored hugepages to ZONE_NORMAL, so that it is capable to pin. Intel-SIG: Move boot time allocated hugepages to ZONE_NORMAL if hugepage_no_mirror Signed-off-by:Jason Zeng <jason.zeng@intel.com>
Loading
Please sign in to comment