From owner-cvs-all@FreeBSD.ORG Sun Feb 25 06:14:59 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7FBDE16A401; Sun, 25 Feb 2007 06:14:59 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 6F8FA13C441; Sun, 25 Feb 2007 06:14:59 +0000 (UTC) (envelope-from alc@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l1P6ExhK053154; Sun, 25 Feb 2007 06:14:59 GMT (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l1P6Expt053153; Sun, 25 Feb 2007 06:14:59 GMT (envelope-from alc) Message-Id: <200702250614.l1P6Expt053153@repoman.freebsd.org> From: Alan Cox Date: Sun, 25 Feb 2007 06:14:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/vm phys_pager.c vm_kern.c vm_map.c vm_object.c vm_page.c vm_page.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 25 Feb 2007 06:14:59 -0000 alc 2007-02-25 06:14:59 UTC FreeBSD src repository Modified files: sys/vm phys_pager.c vm_kern.c vm_map.c vm_object.c vm_page.c vm_page.h Log: Change the way that unmanaged pages are created. Specifically, immediately flag any page that is allocated to a OBJT_PHYS object as unmanaged in vm_page_alloc() rather than waiting for a later call to vm_page_unmanage(). This allows for the elimination of some uses of the page queues lock. Change the type of the kernel and kmem objects from OBJT_DEFAULT to OBJT_PHYS. This allows us to take advantage of the above change to simplify the allocation of unmanaged pages in kmem_alloc() and kmem_malloc(). Remove vm_page_unmanage(). It is no longer used. Revision Changes Path 1.25 +0 -6 src/sys/vm/phys_pager.c 1.127 +4 -6 src/sys/vm/vm_kern.c 1.380 +1 -2 src/sys/vm/vm_map.c 1.374 +4 -3 src/sys/vm/vm_object.c 1.341 +2 -30 src/sys/vm/vm_page.c 1.147 +0 -1 src/sys/vm/vm_page.h