Open
Description
In #40368, I avoided false deadlocks from startm
in sysmon
by reserving M ids in advance to make it look like the new M is already running to checkdead
.
Later, I discovered that @dvyukov fixed a nearly identical issue in #6070 by temporarily decrementing the number of idle locked M's, to make checkdead see an extra M. Slightly different approach, but same end result.
We should merge these two approaches back to one just to keep things simpler and easier to understand.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Todo