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)
Thu, Jul 16, 9:46 AM
Unknown Object (File)
Thu, Jul 16, 3:32 AM
Unknown Object (File)
Wed, Jul 15, 10:28 AM
Unknown Object (File)
May 19 2026, 11:30 AM
Unknown Object (File)
May 19 2026, 5:43 AM
Unknown Object (File)
May 18 2026, 8:28 AM
Unknown Object (File)
May 16 2026, 9:20 AM
Unknown Object (File)
Apr 28 2026, 9:21 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

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 29396
Build 27283: arc lint + arc unit

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.