• Dmitriy Vyukov's avatar
    runtime: fix spans corruption · 8d321625
    Dmitriy Vyukov authored
    The problem was that spans end up in wrong lists after split
    (e.g. in h->busy instead of h->central->empty).
    Also the span can be non-swept before split,
    I don't know what it can cause, but it's safer to operate on swept spans.
    Fixes #7544.
    
    R=golang-codereviews, rsc
    CC=golang-codereviews, khr
    https://golang.org/cl/76160043
    8d321625
stack.c 24.9 KB