ASAN_UNPOISON_MEMORY_REGION(base, size);Are we loosing any poisoning here? Or I guess we depend on poisoning from the BPA?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ASAN_UNPOISON_MEMORY_REGION(base, size);Are we loosing any poisoning here? Or I guess we depend on poisoning from the BPA?
No, ~PageMemoryRegion() calls FreeMemoryRegion() which unpoisons the region
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
Lets add that this also releases address space on 32-bit systems.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Commit-Queue | +2 |
Lets add that this also releases address space on 32-bit systems.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
[cppgc] Release virtual memory in ReleasePooledPages
The page pool used to only decommit pages but keep the virtual memory
reservation. This change ensures that virtual memory is released back
to the allocator (e.g. the BoundedPageAllocator in the cage) when
ReleasePooledPages() is called. For non-caged configurations (e.g.
32-bit) this releases the virtual memory and as such mitigates OOMs.
This also simplifies NormalPageMemoryPool by removing the unused
is_decommitted and is_discarded flags.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |