From owner-cvs-src@FreeBSD.ORG Tue May 11 21:27:19 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 8A8EA16A4CE; Tue, 11 May 2004 21:27:19 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 219C343D49; Tue, 11 May 2004 21:27:19 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i4C4RIGe066879; Tue, 11 May 2004 21:27:18 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i4C4RIrA066878; Tue, 11 May 2004 21:27:18 -0700 (PDT) (envelope-from alc) Message-Id: <200405120427.i4C4RIrA066878@repoman.freebsd.org> From: Alan Cox Date: Tue, 11 May 2004 21:27:18 -0700 (PDT) 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_page.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: Wed, 12 May 2004 04:27:19 -0000 alc 2004/05/11 21:27:18 PDT FreeBSD src repository Modified files: sys/vm vm_page.c Log: Restructure vm_page_select_cache() so that adding assertions is easy. Some of the conditions that caused vm_page_select_cache() to deactivate a page were wrong. For example, deactivating an unmanaged or wired page is a nop. Thus, if vm_page_select_cache() had ever encountered an unmanaged or wired page, it would have looped forever. Now, we assert that the page is neither unmanaged nor wired. Revision Changes Path 1.283 +15 -10 src/sys/vm/vm_page.c