Index: src/platform-freebsd.cc |
=================================================================== |
--- src/platform-freebsd.cc (revision 2846) |
+++ src/platform-freebsd.cc (working copy) |
@@ -334,7 +334,7 @@ |
bool VirtualMemory::Uncommit(void* address, size_t size) { |
return mmap(address, size, PROT_NONE, |
- MAP_PRIVATE | MAP_ANON | MAP_NORESERVE, |
+ MAP_PRIVATE | MAP_ANON | MAP_NORESERVE | MAP_FIXED, |
kMmapFd, kMmapFdOffset) != MAP_FAILED; |
} |