From owner-cvs-all@FreeBSD.ORG Sat Jan 24 13:31:07 2004 Return-Path: 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 D0A3A16A4D7; Sat, 24 Jan 2004 13:31:07 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0DBF643D4C; Sat, 24 Jan 2004 13:31:07 -0800 (PST) (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 i0OLV60B073030; Sat, 24 Jan 2004 13:31:06 -0800 (PST) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i0OLV6pA073029; Sat, 24 Jan 2004 13:31:06 -0800 (PST) (envelope-from alc) Message-Id: <200401242131.i0OLV6pA073029@repoman.freebsd.org> From: Alan Cox Date: Sat, 24 Jan 2004 13:31:06 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/vm swap_pager.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jan 2004 21:31:08 -0000 alc 2004/01/24 13:31:06 PST FreeBSD src repository Modified files: sys/vm swap_pager.c Log: 1. Statically initialize swap_pager_full and swap_pager_almost_full to the full state. (When swap is added their state will change appropriately.) 2. Set swap_pager_full and swap_pager_almost_full to the full state when the last swap device is removed. Combined these changes eliminate nonsense messages from the kernel on swap- less machines. Item 2 submitted by: Divacky Roman Prodding by: phk Revision Changes Path 1.245 +6 -2 src/sys/vm/swap_pager.c