From owner-svn-src-head@freebsd.org Wed Aug 22 14:33:58 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 62587108A76C; Wed, 22 Aug 2018 14:33:58 +0000 (UTC) (envelope-from lidl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0A3FA76DD2; Wed, 22 Aug 2018 14:33:58 +0000 (UTC) (envelope-from lidl@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DACEE144A2; Wed, 22 Aug 2018 14:33:57 +0000 (UTC) (envelope-from lidl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7MEXvJV007568; Wed, 22 Aug 2018 14:33:57 GMT (envelope-from lidl@FreeBSD.org) Received: (from lidl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7MEXv8k007567; Wed, 22 Aug 2018 14:33:57 GMT (envelope-from lidl@FreeBSD.org) Message-Id: <201808221433.w7MEXv8k007567@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: lidl set sender to lidl@FreeBSD.org using -f From: Kurt Lidl Date: Wed, 22 Aug 2018 14:33:57 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r338201 - head/stand/sparc64/loader X-SVN-Group: head X-SVN-Commit-Author: lidl X-SVN-Commit-Paths: head/stand/sparc64/loader X-SVN-Commit-Revision: 338201 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.27 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: Wed, 22 Aug 2018 14:33:58 -0000 Author: lidl Date: Wed Aug 22 14:33:57 2018 New Revision: 338201 URL: https://svnweb.freebsd.org/changeset/base/338201 Log: 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. MFC after: 3 days Modified: head/stand/sparc64/loader/main.c Modified: head/stand/sparc64/loader/main.c ============================================================================== --- head/stand/sparc64/loader/main.c Wed Aug 22 14:06:31 2018 (r338200) +++ head/stand/sparc64/loader/main.c Wed Aug 22 14:33:57 2018 (r338201) @@ -77,7 +77,7 @@ __FBSDID("$FreeBSD$"); enum { HEAPVA = 0x800000, - HEAPSZ = 0x1000000, + HEAPSZ = 0x3000000, LOADSZ = 0x1000000 /* for kernel and modules */ };