From owner-cvs-src-old@FreeBSD.ORG Tue Dec 28 20:12:19 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E4FA1065781 for ; Tue, 28 Dec 2010 20:12:19 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5C08B8FC1A for ; Tue, 28 Dec 2010 20:12:19 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oBSKCJvx057140 for ; Tue, 28 Dec 2010 20:12:19 GMT (envelope-from jmallett@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oBSKCJcA057139 for cvs-src-old@freebsd.org; Tue, 28 Dec 2010 20:12:19 GMT (envelope-from jmallett@repoman.freebsd.org) Message-Id: <201012282012.oBSKCJcA057139@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jmallett@repoman.freebsd.org using -f From: Juli Mallett Date: Tue, 28 Dec 2010 20:11:54 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/mips/cavium octeon_machdep.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Dec 2010 20:12:19 -0000 jmallett 2010-12-28 20:11:54 UTC FreeBSD src repository Modified files: sys/mips/cavium octeon_machdep.c Log: SVN rev 216773 on 2010-12-28 20:11:54Z by jmallett When allocating memory from bootmem for the kernel to use, try to leave about 2MB of memory in the bootmem allocator for the SDK to use internally at a later point. It'd be nice if there were some functions we could call before allocating memory to let various facilities reserve some memory, but for now this seems sufficient. Previously some unfortunate systems could give up all (or at least most) of their memory to the kernel from bootmem, and then allocating command queues for packet output and the like would fail later in the boot process (which in turn would lead to crashes even later.) Reported by: kan Revision Changes Path 1.23 +8 -0 src/sys/mips/cavium/octeon_machdep.c