aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2019-10-16 07:09:15 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2019-10-16 07:09:15 +0000
commit2a499f92ba5f184036e6455fda2ba8a05e153d73 (patch)
treee0f49296aea6f95fd5fdab5bbba55417727cbb04 /cddl/contrib
parent0c4f60b734311ebe2d1b23b2937f0418c3fb8704 (diff)
downloadsrc-2a499f92ba5f184036e6455fda2ba8a05e153d73.tar.gz
src-2a499f92ba5f184036e6455fda2ba8a05e153d73.zip
Fix assert in PowerPC pmaps after introduction of object busy.
The VM_PAGE_OBJECT_BUSY_ASSERT() in pmap_enter() implementation should be only asserted when the code is executed as result of pmap_enter(), not when the same code is entered from e.g. pmap_enter_quick(). This is relevant for all PowerPC pmap variants, because mmu_*_enter() is used as the backend, and assert is located there. Add a PowerPC private pmap_enter() PMAP_ENTER_QUICK_LOCKED flag to indicate that the call is not from pmap_enter(). For non-quick-locked calls, assert that the object is locked. Reported and tested by: bdragon Reviewed by: alc, bdragon, markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D22041
Notes
Notes: svn path=/head/; revision=353622
Diffstat (limited to 'cddl/contrib')
0 files changed, 0 insertions, 0 deletions