-
-
Notifications
You must be signed in to change notification settings - Fork 605
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
runtime: make sure halt() is not called before abort() message is pri…
…nted Concurrent abort() call will call osv::halt() immediately which may result in a halting NMI being delivered to the CPU which is in the middle of printing the abort message. This can lead to silent aborts with no message on the screen. To make debugging easier, let the first aborter call osv::halt(), others will just spin and wait for the leader to halt all CPUs. Signed-off-by: Tomasz Grabiec <[email protected]> Signed-off-by: Pekka Enberg <[email protected]>
- Loading branch information
Showing
1 changed file
with
28 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters