Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Mar 2011 21:52:47 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r219536 - projects/altix/sys/boot/efi/libefi
Message-ID:  <201103112152.p2BLqllK094676@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Fri Mar 11 21:52:47 2011
New Revision: 219536
URL: http://svn.freebsd.org/changeset/base/219536

Log:
  Bump the heap size to 2MB. We typically have the memory for it, so there's
  no point in being stingy.

Modified:
  projects/altix/sys/boot/efi/libefi/libefi.c

Modified: projects/altix/sys/boot/efi/libefi/libefi.c
==============================================================================
--- projects/altix/sys/boot/efi/libefi/libefi.c	Fri Mar 11 21:35:38 2011	(r219535)
+++ projects/altix/sys/boot/efi/libefi/libefi.c	Fri Mar 11 21:52:47 2011	(r219536)
@@ -92,7 +92,7 @@ efi_main(EFI_HANDLE image_handle, EFI_SY
 	BS = ST->BootServices;
 	RS = ST->RuntimeServices;
 
-	heapsize = 512*1024;
+	heapsize = 2 * 1024 * 1024;
 	status = BS->AllocatePages(AllocateAnyPages, EfiLoaderData,
 	    EFI_SIZE_TO_PAGES(heapsize), &heap);
 	if (status != EFI_SUCCESS)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201103112152.p2BLqllK094676>