diff options
author | alc <alc@FreeBSD.org> | 2010-12-09 20:16:00 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-12-09 20:16:00 +0000 |
commit | eca7cac32fe13112feffae89181f0f88bb72b7ee (patch) | |
tree | 9720ae95e7f5c2244f283d29e31966b0541bd764 /lib/libc | |
parent | 0c8713f91e759286a8d540d02e44e0310785b2e9 (diff) | |
download | FreeBSD-src-eca7cac32fe13112feffae89181f0f88bb72b7ee.zip FreeBSD-src-eca7cac32fe13112feffae89181f0f88bb72b7ee.tar.gz |
When r207410 eliminated the acquisition and release of the page queues
lock from pmap_extract_and_hold(), it didn't take into account that
pmap_pte_quick() sometimes requires the page queues lock to be held.
This change reimplements pmap_extract_and_hold() such that it no
longer uses pmap_pte_quick(), and thus never requires the page queues
lock.
For consistency, adopt the same idiom as used by the new
implementation of pmap_extract_and_hold() in pmap_extract() and
pmap_mincore(). It also happens to make these functions shorter.
Fix a style error in pmap_pte().
Reviewed by: kib@
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions