From owner-svn-src-head@freebsd.org Thu Sep 17 20:45:08 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0C0579CF307; Thu, 17 Sep 2015 20:45:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DE560199D; Thu, 17 Sep 2015 20:45:07 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 2C217B924; Thu, 17 Sep 2015 16:45:06 -0400 (EDT) From: John Baldwin To: src-committers@freebsd.org Cc: svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r287934 - head/sys/boot/efi/loader Date: Thu, 17 Sep 2015 13:43:59 -0700 Message-ID: <5683583.PWsk0G3i3G@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.2-PRERELEASE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201509172036.t8HKalKU088025@repo.freebsd.org> References: <201509172036.t8HKalKU088025@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 17 Sep 2015 16:45:06 -0400 (EDT) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2015 20:45:08 -0000 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