From 09972e4b31efed122c8747c2840bea4fa6615c6c Mon Sep 17 00:00:00 2001 From: wuxu Date: Sun, 9 Aug 2020 15:54:55 +0000 Subject: [PATCH] libhugetlbfs: fix max segment cannot adopt the x86 Signed-off-by: wuxu diff --git a/elflink.c b/elflink.c index 2e71522..0f3c228 100644 --- a/elflink.c +++ b/elflink.c @@ -158,7 +158,7 @@ static void unmapped_abort(const char *fmt, ...) /* The directory to use for sharing readonly segments */ static char share_readonly_path[PATH_MAX+1]; -#define MAX_HTLB_SEGS 3 +#define MAX_HTLB_SEGS 4 #define MAX_SEGS 10 struct seg_info { -- 1.8.3.1