svn commit: r287934 - head/sys/boot/efi/loader

John Baldwin jhb at freebsd.org
Thu Sep 17 20:45:08 UTC 2015


On Thursday, September 17, 2015 08:36:47 PM John Baldwin wrote:
> Author: jhb
> Date: Thu Sep 17 20:36:46 2015
> New Revision: 287934
> URL: https://svnweb.freebsd.org/changeset/base/287934
> 
> Log:
>   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.

I believe that this should work fine for any system with 64MB of RAM.  One
downside of the static size is that the loader fails if it can't allocate
a contiguous staging size (it isn't able to grow the staging area on
demand).

-- 
John Baldwin


More information about the svn-src-head mailing list