diff options
author | alc <alc@FreeBSD.org> | 2012-07-16 18:13:43 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-07-16 18:13:43 +0000 |
commit | 8af6bec3e35a5f83c6fe4955a3235cde9b77a070 (patch) | |
tree | e2389227dc088f1bb3c3c7f406a2ed913f5d3542 /sys/kern/kern_tc.c | |
parent | 3abf0120170ad6928c403bd90bacdb74b3db3570 (diff) | |
download | FreeBSD-src-8af6bec3e35a5f83c6fe4955a3235cde9b77a070.zip FreeBSD-src-8af6bec3e35a5f83c6fe4955a3235cde9b77a070.tar.gz |
Various improvements to vm_contig_grow_cache(). Most notably, even when
it can't sleep, it can still move clean pages from the inactive queue to
the cache. Also, when a page is cached, there is no need to restart the
scan. The "next" page pointer held by vm_contig_launder() is still
valid. Finally, add a comment summarizing what vm_contig_grow_cache()
does based upon the value of "tries".
MFC after: 3 weeks
Diffstat (limited to 'sys/kern/kern_tc.c')
0 files changed, 0 insertions, 0 deletions