From owner-cvs-sys Sat Mar 7 22:28:01 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA11877 for cvs-sys-outgoing; Sat, 7 Mar 1998 22:28:01 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA11834; Sat, 7 Mar 1998 22:27:56 -0800 (PST) (envelope-from dyson@FreeBSD.org) From: John Dyson Received: (from dyson@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id WAA27472; Sat, 7 Mar 1998 22:26:06 -0800 (PST) Date: Sat, 7 Mar 1998 22:26:06 -0800 (PST) Message-Id: <199803080626.WAA27472@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/vm vm_object.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk dyson 1998/03/07 22:26:05 PST Modified files: sys/vm vm_object.c Log: Several minor fixes: 1) When freeing pages, it is a good idea to protect them off. (This is probably gratuitious, but good form.) 2) Allow collapsing pages in the backing object that are PQ_CACHE. This will improve memory utilization. 3) Correct the collapse code so that pages that were on the cache queue are moved to the inactive queue. This is done when pages are marked dirty (so that those pages will be properly paged out instead of freed), so that cached pages will not be paradoxically marked dirty. Revision Changes Path 1.117 +11 -4 src/sys/vm/vm_object.c