HomeFreeBSD

powerpc/booke: Fix handling of pvh_global_lock and pmap lock

Description

powerpc/booke: Fix handling of pvh_global_lock and pmap lock

ptbl_alloc() is expected to return with the pvh_global_lock and pmap
lock held. However, it will return with them unlocked if nosleep is
specified.

Along with this, fix lock ordering of pvh_global_lock with respect to
the pmap lock in other places.

Differential Revision: https://reviews.freebsd.org/D23692

Details

Provenance
jhibbitsAuthored on Feb 22 2020, 1:31 AM
Parents
rG1731d530367e: We pass a pointer to the flags to dabitsysctl, not an integer. Adjust the
Branches
Unknown
Tags
Unknown

Event Timeline