mehdi_amini added a comment. > I mean the maximum waste here is always < 1 page of memory right? To clarify: there is virtual memory overhead but this is free on 64 bits systems so I don't expect it to matter. https://reviews.llvm.org/D27960