summaryrefslogtreecommitdiffstats
path: root/contrib/libstdc++/libsupc++/vec.cc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-04-29 16:18:45 +0000
committeralc <alc@FreeBSD.org>2010-04-29 16:18:45 +0000
commita05508f205782767efaaf7a6043901b3e1a3056d (patch)
tree648c0bafc89f775aae3162f3d94bb9c4ecc7a812 /contrib/libstdc++/libsupc++/vec.cc
parentdf2257e061f55c35d76f33f91541c65c33f7a2a7 (diff)
downloadFreeBSD-src-a05508f205782767efaaf7a6043901b3e1a3056d.zip
FreeBSD-src-a05508f205782767efaaf7a6043901b3e1a3056d.tar.gz
Simplify the inner loop of vm_pageout_object_deactivate_pages(). Rather
than checking each page for PG_UNMANAGED, check the vm object's type. Only OBJT_PHYS can have unmanaged pages. Eliminate a pointless counter. The vm object is locked, that lock is never released by the inner loop, and the set of pages contained by the vm object is not changed by the inner loop. Therefore, the counter serves no purpose.
Diffstat (limited to 'contrib/libstdc++/libsupc++/vec.cc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud