runtime: introduce MSpan.needzero instead of writing to span data
This cleans up the code significantly, and it avoids any possible problems with madvise zeroing out some but not all of the data. Fixes #6400. LGTM=dave R=dvyukov, dave CC=golang-codereviews https://golang.org/cl/57680046
Showing
Please register or sign in to comment