summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-11-05 19:55:45 +0000
committerjhb <jhb@FreeBSD.org>2015-11-05 19:55:45 +0000
commit66054dcdbaa093b7cfab4d887808d302fc7fbaa3 (patch)
treee96e8a895d3cbdd3495948f2279b1ca673dc715c /sys/boot
parentb24eb35d36c87cba1bef78e751142aa7d680b33e (diff)
downloadFreeBSD-src-66054dcdbaa093b7cfab4d887808d302fc7fbaa3.zip
FreeBSD-src-66054dcdbaa093b7cfab4d887808d302fc7fbaa3.tar.gz
MFC 287934:
The EFI boot loader allocates a single chunk of contiguous memory to hold the kernel, modules, and any other loaded data. This memory block is relocated to the kernel's expected location during the transfer of control from the loader to the kernel. The GENERIC kernel on amd64 has recently grown such that a kernel + zfs.ko no longer fits in the default staging size. Bump the default size from 32MB to 48MB to provide more breathing room. PR: 201679
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/amd64/efi/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/amd64/efi/copy.c b/sys/boot/amd64/efi/copy.c
index c3cb475..705fb05 100644
--- a/sys/boot/amd64/efi/copy.c
+++ b/sys/boot/amd64/efi/copy.c
@@ -38,7 +38,7 @@ __FBSDID("$FreeBSD$");
#include <efilib.h>
#ifndef EFI_STAGING_SIZE
-#define EFI_STAGING_SIZE 32
+#define EFI_STAGING_SIZE 48
#endif
#define STAGE_PAGES ((EFI_STAGING_SIZE) * 1024 * 1024 / 4096)
OpenPOWER on IntegriCloud