From owner-cvs-all Sun Feb 16 9:30:51 2003 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E251637B401; Sun, 16 Feb 2003 09:30:49 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 851D943F3F; Sun, 16 Feb 2003 09:30:49 -0800 (PST) (envelope-from gallatin@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h1GHUnbv025766; Sun, 16 Feb 2003 09:30:49 -0800 (PST) (envelope-from gallatin@repoman.freebsd.org) Received: (from gallatin@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h1GHUnXr025765; Sun, 16 Feb 2003 09:30:49 -0800 (PST) Message-Id: <200302161730.h1GHUnXr025765@repoman.freebsd.org> From: Andrew Gallatin Date: Sun, 16 Feb 2003 09:30:49 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gallatin 2003/02/16 09:30:49 PST Modified files: sys/alpha/alpha machdep.c Log: When trimming memory to fit Maxmem, and we discard an entire cluster, make certain to subtract its pages from physmem. Otherwise we end up running phys_avail_cnt negative, and bad stuff happens. MFC After: 1 week Revision Changes Path 1.193 +1 -0 src/sys/alpha/alpha/machdep.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message