• Austin Clements's avatar
    runtime: disallow preemption during startTheWorld · 9c44a41d
    Austin Clements authored
    Currently, startTheWorld clears preemptoff for the current M before
    starting the world. A few callers increment m.locks around
    startTheWorld, presumably to prevent preemption any time during
    starting the world. This is almost certainly pointless (none of the
    other callers do this), but there's no harm in making startTheWorld
    keep preemption disabled until it's all done, which definitely lets us
    drop these m.locks manipulations.
    
    Change-Id: I8a93658abd0c72276c9bafa3d2c7848a65b4691a
    Reviewed-on: https://go-review.googlesource.com/10155Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    9c44a41d
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...