diff options
author | alc <alc@FreeBSD.org> | 2012-10-06 19:05:50 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-10-06 19:05:50 +0000 |
commit | 78ade40ed1d3591a0bf9f5a1bb057c1f4084135d (patch) | |
tree | 48d1854453004dce8d54de7aa2edd9b551ef95f9 /usr.bin/rsh | |
parent | 9f91838f634b0f54d147edca722735d285752e3f (diff) | |
download | FreeBSD-src-78ade40ed1d3591a0bf9f5a1bb057c1f4084135d.zip FreeBSD-src-78ade40ed1d3591a0bf9f5a1bb057c1f4084135d.tar.gz |
Correct two pessimizations in pmap_extract_and_hold(). Test the PTE for
having PTE_RO set instead of PTE_D. This avoids some unnecessary failures
by pmap_extract_and_hold() that will have to be handled by a call to
vm_fault_hold(). Testing the PTE for both being non-zero and having PTE_V
set is redundant. The latter suffices.
Diffstat (limited to 'usr.bin/rsh')
0 files changed, 0 insertions, 0 deletions