joerg added a comment. You can do an anon-mapping with size+pagesize in that case and map over it with MAP_FIXED. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D90201/new/ https://reviews.llvm.org/D90201