Page MenuHomeFreeBSD

powerpc/booke: Fix locking in ptbl_alloc()
ClosedPublic

Authored by jhibbits on Feb 15 2020, 4:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 19, 11:30 AM
Unknown Object (File)
Tue, May 19, 5:43 AM
Unknown Object (File)
Mon, May 18, 8:28 AM
Unknown Object (File)
Sat, May 16, 9:20 AM
Unknown Object (File)
Apr 28 2026, 9:21 AM
Unknown Object (File)
Apr 11 2026, 10:50 PM
Unknown Object (File)
Apr 5 2026, 8:15 PM
Unknown Object (File)
Mar 26 2026, 2:12 AM
Subscribers

Details

Summary

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.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 22 2020, 1:31 AM
This revision was automatically updated to reflect the committed changes.