Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
erts: Fix sigq deferred_save when inner queue is empty
If the inner queue is empty, the deferred_save would incorrectly trigger and set the message queue pointer to the wrong place. This commit makes it so that the message queue optimization does not trigger when the inner queue is empty. This is a correct solution, but not ideal as it means that the message queue optimization will not help when you have a huge middle queue but en empty inner queue.
- Loading branch information
Showing
2 changed files
with
10 additions
and
1 deletion.
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
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