From owner-cvs-all Thu Oct 10 12:28:24 2002 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 C2F7A37B401; Thu, 10 Oct 2002 12:28:22 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70B5343EB2; Thu, 10 Oct 2002 12:28:22 -0700 (PDT) (envelope-from dillon@FreeBSD.org) Received: from freefall.freebsd.org (dillon@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9AJSMCo045846; Thu, 10 Oct 2002 12:28:22 -0700 (PDT) (envelope-from dillon@freefall.freebsd.org) Received: (from dillon@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9AJSM0s045845; Thu, 10 Oct 2002 12:28:22 -0700 (PDT) Message-Id: <200210101928.g9AJSM0s045845@freefall.freebsd.org> From: Matt Dillon Date: Thu, 10 Oct 2002 12:28:22 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_bio.c src/sys/sys vmmeter.h src/sys/vm vm_map.c vm_map.h vm_meter.c X-FreeBSD-CVS-Branch: RELENG_4 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 dillon 2002/10/10 12:28:22 PDT Modified files: (Branch: RELENG_4) sys/kern vfs_bio.c sys/sys vmmeter.h sys/vm vm_map.c vm_map.h vm_meter.c Log: MFC fix vm_map_entry collisions and buffer_map collisions that can occur under very heavy memory pressure. There are places where the kernel can block where it normally does not block which were not properly handled. These fixes have been heavily tested. They are based on work Alan and Tor have done in -current but are not a direct MFC. They are not entirely optimal but they should be solid. Add a new sysctl counter, vm.v_intrans_coll and vm.v_intrans_wait which indicates how many times a vm_map_entry collision has been detected and how many times vm_map code had to block waiting for a collision to clear. Reviewed by: alc, tegge Testing by: "Marc G. Fournier" (note: there are still unresolved bugs on Marc's boxes unrelated to this patch). Revision Changes Path 1.242.2.18 +6 -0 src/sys/kern/vfs_bio.c 1.21.2.2 +3 -1 src/sys/sys/vmmeter.h 1.187.2.16 +530 -297 src/sys/vm/vm_map.c 1.54.2.4 +7 -0 src/sys/vm/vm_map.h 1.34.2.7 +4 -0 src/sys/vm/vm_meter.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message