diff options
author | alc <alc@FreeBSD.org> | 2007-06-18 02:04:38 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2007-06-18 02:04:38 +0000 |
commit | c7ee2c66ef026d9121744c95b363c1a9022d668b (patch) | |
tree | 9c5e295bfbe409c93bfde3be2aae1259b6dc2f6c /lib/libc/net/gethostbynis.c | |
parent | 6fa1a15c61e3075aa4b011af00e1013112329e85 (diff) | |
download | FreeBSD-src-c7ee2c66ef026d9121744c95b363c1a9022d668b.zip FreeBSD-src-c7ee2c66ef026d9121744c95b363c1a9022d668b.tar.gz |
Eliminate unnecessary checks from vm_pageout_clean(): The page that is
passed to vm_pageout_clean() cannot possibly be PG_UNMANAGED because
it came from the inactive queue and PG_UNMANAGED pages are not in any
page queue. Moreover, PG_UNMANAGED pages only exist in OBJT_PHYS
objects, and all pages within a OBJT_PHYS object are PG_UNMANAGED.
So, if the page that is passed to vm_pageout_clean() is not
PG_UNMANAGED, then it cannot be from an OBJT_PHYS object and its
neighbors from the same object cannot themselves be PG_UNMANAGED.
Reviewed by: tegge
Diffstat (limited to 'lib/libc/net/gethostbynis.c')
0 files changed, 0 insertions, 0 deletions