Date: Thu, 5 Nov 2015 19:55:45 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r290410 - stable/10/sys/boot/amd64/efi Message-ID: <201511051955.tA5Jtjam009143@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Nov 5 19:55:45 2015 New Revision: 290410 URL: https://svnweb.freebsd.org/changeset/base/290410 Log: 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 Modified: stable/10/sys/boot/amd64/efi/copy.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/boot/amd64/efi/copy.c ============================================================================== --- stable/10/sys/boot/amd64/efi/copy.c Thu Nov 5 19:52:18 2015 (r290409) +++ stable/10/sys/boot/amd64/efi/copy.c Thu Nov 5 19:55:45 2015 (r290410) @@ -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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511051955.tA5Jtjam009143>