cvs commit: src/sys/vm phys_pager.c vm_kern.c vm_map.c vm_object.c
vm_page.c vm_page.h
Alan Cox
alc at FreeBSD.org
Sun Feb 25 06:14:59 UTC 2007
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
More information about the cvs-src
mailing list