From owner-cvs-sys Tue May 28 22:12:35 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA06679 for cvs-sys-outgoing; Tue, 28 May 1996 22:12:35 -0700 (PDT) Received: (from dyson@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id WAA06661; Tue, 28 May 1996 22:12:26 -0700 (PDT) Date: Tue, 28 May 1996 22:12:26 -0700 (PDT) From: John Dyson Message-Id: <199605290512.WAA06661@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/vm vm_map.c default_pager.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 96/05/28 22:12:25 Modified: sys/vm vm_map.c default_pager.c Log: Make sure that pageout deadlocks cannot occur. There is a problem that the datastructures needed to support the swap pager can take enough space to fully deplete system memory, and cause a deadlock. This change keeps large objects from being filled with dirty pages without the appropriate swap pager datastructures. Right now, default objects greater than 1/4 the size of available system memory are converted to swap objects, thereby eliminating the risk of deadlock. Revision Changes Path 1.48 +18 -2 src/sys/vm/vm_map.c 1.8 +15 -7 src/sys/vm/default_pager.c