From owner-cvs-all Wed Mar 12 15:13:19 2003 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 1F7BE37B401; Wed, 12 Mar 2003 15:13:18 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5301B43FD7; Wed, 12 Mar 2003 15:13:17 -0800 (PST) (envelope-from das@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h2CNDH0U046433; Wed, 12 Mar 2003 15:13:17 -0800 (PST) (envelope-from das@repoman.freebsd.org) Received: (from das@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h2CNDHMU046431; Wed, 12 Mar 2003 15:13:17 -0800 (PST) Message-Id: <200303122313.h2CNDHMU046431@repoman.freebsd.org> From: David Schultz Date: Wed, 12 Mar 2003 15:13:16 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c vm_map.h vm_pageout.c 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 das 2003/03/12 15:13:16 PST FreeBSD src repository Modified files: sys/vm vm_map.c vm_map.h vm_pageout.c Log: - When the VM daemon is out of swap space and looking for a process to kill, don't block on a map lock while holding the process lock. Instead, skip processes whose map locks are held and find something else to kill. - Add vm_map_trylock_read() to support the above. Reviewed by: alc, mike (mentor) Revision Changes Path 1.287 +13 -2 src/sys/vm/vm_map.c 1.97 +3 -0 src/sys/vm/vm_map.h 1.227 +7 -2 src/sys/vm/vm_pageout.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message