summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2010-12-09 20:16:00 +0000
committeralc <alc@FreeBSD.org>2010-12-09 20:16:00 +0000
commiteca7cac32fe13112feffae89181f0f88bb72b7ee (patch)
tree9720ae95e7f5c2244f283d29e31966b0541bd764 /lib/libc
parent0c8713f91e759286a8d540d02e44e0310785b2e9 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud