Date: Tue, 28 Dec 2010 20:11:54 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/cavium octeon_machdep.c Message-ID: <201012282012.oBSKCJcA057139@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012282012.oBSKCJcA057139>