summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authoralc <alc@FreeBSD.org>2011-12-30 18:16:15 +0000
committeralc <alc@FreeBSD.org>2011-12-30 18:16:15 +0000
commitd65386a32fea92f57d713b7290622698243bbfa2 (patch)
tree1a36879554dc3c20626035a24799ab6da7836581 /share
parente28679ec14f723663e64f5b4cd256d9d28129d97 (diff)
downloadFreeBSD-src-d65386a32fea92f57d713b7290622698243bbfa2.zip
FreeBSD-src-d65386a32fea92f57d713b7290622698243bbfa2.tar.gz
Merge r216333 and r216555 from the native pmap
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. Merge r177525 from the native pmap Prevent the overflow in the calculation of the next page directory. The overflow causes the wraparound with consequent corruption of the (almost) whole address space mapping. Strictly speaking, r177525 is not required by the Xen pmap because the hypervisor steals the uppermost region of the normal kernel address space. I am nonetheless merging it in order to reduce the number of unnecessary differences between the native and Xen pmap implementations. Tested by: sbruno
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud