From 27b3ebfad48e9253d2c584fd75e9f1380633435a Mon Sep 17 00:00:00 2001 From: Kunhui Li Date: Sun, 16 May 2021 22:28:15 -0400 Subject: [PATCH] Config_tools: config hugepage in sos kenrel cmdline 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 Reviewed-By: Junjie Mao --- misc/config_tools/xforms/misc_cfg.h.xsl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/misc/config_tools/xforms/misc_cfg.h.xsl b/misc/config_tools/xforms/misc_cfg.h.xsl index 35a37e51c..bd2a384b7 100644 --- a/misc/config_tools/xforms/misc_cfg.h.xsl +++ b/misc/config_tools/xforms/misc_cfg.h.xsl @@ -95,6 +95,7 @@ + @@ -105,7 +106,12 @@ - + + + + + +