From owner-cvs-all Fri Nov 9 5:25:23 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 EA3FC37B405; Fri, 9 Nov 2001 05:25:14 -0800 (PST) Received: (from dfr@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA9DPER47956; Fri, 9 Nov 2001 05:25:14 -0800 (PST) (envelope-from dfr) Message-Id: <200111091325.fA9DPER47956@freefall.freebsd.org> From: Doug Rabson Date: Fri, 9 Nov 2001 05:25:14 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/ia64/ia64 pmap.c src/sys/ia64/include pmap.h 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 dfr 2001/11/09 05:25:14 PST Modified files: sys/ia64/ia64 pmap.c sys/ia64/include pmap.h Log: * Make sure we increment pm_stats.resident_count in pmap_enter_quick * Re-organise RID allocation so that we don't accidentally give a RID to two different processes. Also randomise the order to try to reduce collisions in VHPT and TLB. Don't allocate RIDs for regions which are unused. * Allocate space for VHPT based on the size of physical memory. More tuning is needed here. * Add sysctl instrumentation for VHPT - see sysctl vm.stats.vhpt * Fix a bug in pmap_prefault() which prevented it from actually adding pages to the pmap. * Remove ancient dead debugging code. * Add DDB commands for examining translation registers and region registers. The first change fixes the 'free/cache page %p was dirty' panic which I have been seeing when the system is put under moderate load. It also fixes the negative RSS values in ps which have been confusing me for a while. With this set of changes the ia64 port is reliable enough to build its own kernels, even with a 20-way parallel build. Next stop buildworld. Revision Changes Path 1.32 +304 -197 src/sys/ia64/ia64/pmap.c 1.6 +1 -1 src/sys/ia64/include/pmap.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message