On Mon, May 21, 2018 at 6:41 PM Daniel Colascione <dancol@xxxxxxxxxx> wrote: > That'd be good too, but I don't see how this guarantee would be easier to > make. If you call mmap three times, those three allocations might end up > merged into the same VMA, and if you called munmap on the middle > allocation, you'd still have to split. Am I misunderstanding something? Oh: a sequence number stored in the VMA, combined with a refusal to merge across sequence number differences.