Date: Sun, 25 Feb 2007 06:14:59 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm phys_pager.c vm_kern.c vm_map.c vm_object.c vm_page.c vm_page.h Message-ID: <200702250614.l1P6Expt053153@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702250614.l1P6Expt053153>
