Fix Windows reserve-only page allocations - #1253
Conversation
|
gpt/opus found the following two issues:
|
|
Weiteng Chen (@CvvT), do you plan to address the comment above? |
Yes, I am still working on it. |
Now we skip |
Add tracking for live reserve-only mappings for collision detection and update tracking after permission changes and deallocation. |
|
🤖 SemverChecks 🤖 No breaking API changes detected Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered. |
Some applications may reserve large chunk of memory (e.g., 4GB) upfront but only uses a small portion of it. When allocating memory with no permission, we should only reserve memory without committing any pages on Windows platform. We then commit reserved pages when accessible permissions are later requested.