Merge tag 'v0.19.7'

This commit is contained in:
Max Kellermann
2014-12-17 19:27:59 +01:00
6 changed files with 30 additions and 7 deletions

View File

@@ -71,7 +71,9 @@ static inline void *
HugeAllocate(size_t size)
{
// TODO: use MEM_LARGE_PAGES
return VirtualAlloc(nullptr, size, MEM_RESERVE, PAGE_READWRITE);
return VirtualAlloc(nullptr, size,
MEM_COMMIT|MEM_RESERVE,
PAGE_READWRITE);
}
static inline void