diff options
author | Tony Titus via SeaBIOS <seabios@seabios.org> | 2023-07-28 04:41:48 +0000 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-08-24 10:32:06 +0200 |
commit | 774a823a966cdc5d31ddc11af2b7b4f2c250ffdd (patch) | |
tree | 27f176dfc76daa71f8129768ef19637e7b446132 | |
parent | 1281e340ad1d90c0cc8e8d902bb34f1871eb48cf (diff) | |
download | seabios-774a823a966cdc5d31ddc11af2b7b4f2c250ffdd.tar.gz |
Increase BUILD_MAX_E820 to 128
For platforms with high number of numa nodes, 32 e820 entries are not
enough. Linux kernel sets the maximum e820 entries to a base value of
128. Setting BUILD_MAX_E820 to 128 to be in sync with this base value.
Signed-off-by: Tony Titus <tonydt@amazon.com>
Message-ID: <20230728044148.58041-1-tonydt@amazon.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | src/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.h b/src/config.h index 9abe355b..16952eb7 100644 --- a/src/config.h +++ b/src/config.h @@ -15,7 +15,7 @@ #define BUILD_APPNAME4 "BXPC" // Maximum number of map entries in the e820 map -#define BUILD_MAX_E820 32 +#define BUILD_MAX_E820 128 // Space to reserve in high-memory for tables #define BUILD_MIN_HIGHTABLE (256*1024) #define BUILD_MAX_HIGHTABLE (16*1024*1024) |