svn commit: r338332 - stable/11/stand/sparc64/loader

Kurt Lidl lidl at FreeBSD.org
Mon Aug 27 03:32:41 UTC 2018


Author: lidl
Date: Mon Aug 27 03:32:40 2018
New Revision: 338332
URL: https://svnweb.freebsd.org/changeset/base/338332

Log:
  MFC r338201: increase heap size during "loader" on sparc64
  
  Increase the size of the heap size available on sparc64 during
  operation of "loader".  The dramatic increase in size of
  SPA_MAXBLOCKSIZE in r304321 causes the heap space to be exhausted,
  so malloc() fails, ultimately leading to a memcpy() with a
  destination of 0x0.

Modified:
  stable/11/stand/sparc64/loader/main.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/stand/sparc64/loader/main.c
==============================================================================
--- stable/11/stand/sparc64/loader/main.c	Sun Aug 26 18:04:54 2018	(r338331)
+++ stable/11/stand/sparc64/loader/main.c	Mon Aug 27 03:32:40 2018	(r338332)
@@ -79,7 +79,7 @@ extern char bootprog_info[];
 
 enum {
 	HEAPVA		= 0x800000,
-	HEAPSZ		= 0x1000000,
+	HEAPSZ		= 0x3000000,
 	LOADSZ		= 0x1000000	/* for kernel and modules */
 };
 


More information about the svn-src-stable-11 mailing list