From owner-cvs-src@FreeBSD.ORG Mon Aug 16 06:16:12 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFB9016A4CE; Mon, 16 Aug 2004 06:16:12 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D72E743D2D; Mon, 16 Aug 2004 06:16:12 +0000 (GMT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i7G6GCDO055764; Mon, 16 Aug 2004 06:16:12 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i7G6GCIc055763; Mon, 16 Aug 2004 06:16:12 GMT (envelope-from alc) Message-Id: <200408160616.i7G6GCIc055763@repoman.freebsd.org> From: Alan Cox Date: Mon, 16 Aug 2004 06:16:12 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm vm.h vm_fault.c vm_map.c vm_meter.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Aug 2004 06:16:13 -0000 alc 2004-08-16 06:16:12 UTC FreeBSD src repository Modified files: sys/vm vm.h vm_fault.c vm_map.c vm_meter.c Log: - Introduce and use a new tunable "debug.mpsafevm". At present, setting "debug.mpsafevm" results in (almost) Giant-free execution of zero-fill page faults. (Giant is held only briefly, just long enough to determine if there is a vnode backing the faulting address.) Also, condition the acquisition and release of Giant around calls to pmap_remove() on "debug.mpsafevm". The effect on performance is significant. On my dual Opteron, I see a 3.6% reduction in "buildworld" time. - Use atomic operations to update several counters in vm_fault(). Revision Changes Path 1.24 +13 -0 src/sys/vm/vm.h 1.192 +11 -7 src/sys/vm/vm_fault.c 1.360 +4 -4 src/sys/vm/vm_map.c 1.76 +8 -0 src/sys/vm/vm_meter.c