Date: Thu, 10 Oct 2002 12:28:22 -0700 (PDT) From: Matt Dillon <dillon@FreeBSD.org> 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 Message-ID: <200210101928.g9AJSM0s045845@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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" <scrappy@hub.org> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210101928.g9AJSM0s045845>
