Page MenuHomeFreeBSD

mpr: Fix deadlock when handling panic
AcceptedPublic

Authored by manu on Apr 16 2018, 2:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 3:42 AM
Unknown Object (File)
Thu, Oct 9, 7:11 PM
Unknown Object (File)
Thu, Oct 2, 1:37 AM
Unknown Object (File)
Wed, Sep 17, 11:11 PM
Unknown Object (File)
Wed, Sep 17, 7:28 PM
Unknown Object (File)
Jul 11 2025, 7:34 PM
Unknown Object (File)
Jul 9 2025, 12:24 AM
Unknown Object (File)
Jul 7 2025, 1:12 PM
Subscribers

Details

Reviewers
smh
slm
Summary

During shutdown mps waits for its SSU requests to complete however when
performing a reboot after handling a panic the scheduler is stopped so
getmicrotime which is used can be non-functional.

Switch to using the same method as shutdown_panic to ensure we actually
complete.

In addition reduce the timeout when RB_NOSYNC is set in howto as we expect
this to fail.

This is r330951 adapted for mpr(4)

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 16166
Build 16119: arc lint + arc unit