From owner-cvs-all Sat Apr 3 23:13: 0 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 586CD14E73; Sat, 3 Apr 1999 23:12:58 -0800 (PST) (envelope-from alc@FreeBSD.org) Received: (from alc@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id XAA68880; Sat, 3 Apr 1999 23:11:02 -0800 (PST) (envelope-from alc@FreeBSD.org) Message-Id: <199904040711.XAA68880@freefall.freebsd.org> From: Alan Cox Date: Sat, 3 Apr 1999 23:11:02 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk alc 1999/04/03 23:11:02 PST Modified files: sys/vm vm_map.c Log: Two changes to vm_map_delete: 1. Don't bother checking object->ref_count == 1 in order to set OBJ_ONEMAPPING. It's a waste of time. If object->ref_count == 1, vm_map_entry_delete will "run-down" the object and its pages. 2. If object->ref_count == 1, ignore OBJ_ONEMAPPING. Wait for vm_map_entry_delete to "run-down" the object and its pages. Otherwise, we're calling two different procedures to delete the object's pages. Note: "vmstat -s" will once again show a non-zero value for "pages freed by exiting processes". Revision Changes Path 1.160 +10 -13 src/sys/vm/vm_map.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message