cvs commit: src/sys/vm vm_contig.c vm_pageout.c vm_pageout.h
John Baldwin
jhb at FreeBSD.org
Wed Sep 17 20:30:53 UTC 2008
jhb 2008-09-17 20:30:42 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/vm vm_contig.c vm_pageout.c vm_pageout.h
Log:
SVN rev 183124 on 2008-09-17 20:30:42Z by jhb
MFC: 173901,173918
- Tidy up: Add comments. Eliminate the pointless
malloc_type_allocated(..., 0) calls that occur when contigmalloc() has
failed. Eliminate the acquisition and release of the page queues lock
from vm_page_release_contig(). Rename contigmalloc2() to
contigmapping(), reflecting what it does.
- Make contigmalloc(9)'s page laundering more robust. Specifically, use
vm_pageout_fallback_object_lock() in vm_contig_launder_page() to better
handle a lock-ordering problem. Consequently, trylock's failure on the
page's containing object no longer implies that the page cannot be
laundered.
Approved by: re (kib), alc
Revision Changes Path
1.63.2.1 +29 -22 src/sys/vm/vm_contig.c
1.292.2.3 +1 -1 src/sys/vm/vm_pageout.c
1.41.10.1 +1 -0 src/sys/vm/vm_pageout.h
More information about the cvs-src
mailing list