From owner-cvs-all Thu Mar 1 11:21:28 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 146EA37B719; Thu, 1 Mar 2001 11:21:25 -0800 (PST) (envelope-from gallatin@FreeBSD.org) Received: (from gallatin@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f21JLPF61685; Thu, 1 Mar 2001 11:21:25 -0800 (PST) (envelope-from gallatin) Message-Id: <200103011921.f21JLPF61685@freefall.freebsd.org> From: Andrew Gallatin Date: Thu, 1 Mar 2001 11:21:24 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_page.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG gallatin 2001/03/01 11:21:24 PST Modified files: sys/vm vm_page.c Log: Allocate vm_page_array and vm_page_buckets from the end of the biggest chunk of memory, rather than from the start. This fixes problems allocating bouncebuffers on alphas where there is only 1 chunk of memory (unlike PCs where there is generally at least one small chunk and a large chunk). Having 1 chunk had been fatal, because these structures take over 13MB on a machine with 1GB of ram. This doesn't leave much room for other structures and bounce buffers if they're at the front. Reviewed by: dfr, anderson@cs.duke.edu, silence on -arch Tested by: Yoriaki FUJIMORI Revision Changes Path 1.157 +17 -19 src/sys/vm/vm_page.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message