mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-30 11:13:13 +00:00
If there is hugepage support from board xml, config tool will add hugepagesz=1G hugepages=[size] into sos kernel cmdline, the size is calculated by memory size in G minusing 3. The reason for reducing 3 is that it is reserved for SOS VM use. Tracked-On: #5815 Signed-off-by: Kunhui Li <kunhuix.li@intel.com> Reviewed-By: Junjie Mao <junjie.mao@intel.com>