summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/realpath.3
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2007-06-18 02:04:38 +0000
committeralc <alc@FreeBSD.org>2007-06-18 02:04:38 +0000
commitc7ee2c66ef026d9121744c95b363c1a9022d668b (patch)
tree9c5e295bfbe409c93bfde3be2aae1259b6dc2f6c /lib/libc/stdlib/realpath.3
parent6fa1a15c61e3075aa4b011af00e1013112329e85 (diff)
downloadFreeBSD-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/stdlib/realpath.3')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud