Commit 8bc3f028 authored by Simon Marlow's avatar Simon Marlow
Browse files

add a missing lock around allocGroup()

parent c17eee4d
......@@ -631,7 +631,9 @@ allocate (Capability *cap, lnat n)
stp = &nurseries[cap->no];
bd = allocGroup(req_blocks);
dbl_link_onto(bd, &stp->large_objects);
stp->n_large_blocks += bd->blocks; // might be larger than req_blocks
initBdescr(bd, stp);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment