Code-Review | +1 |
// SystemPageSize, which may fail on system with .
There's some text missing :)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
There's some text missing :)
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
ptal, some stuff was updated
To make it work for LSAN and Windows
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
cppgc: Mitigate Oilpan VA exhaustions
Currently, Oilpan tries to overreserve the cage to make sure that the
LSB of the masked out pointer part is 1. It does it by allocating twice
the actual useful reservation size and twice the needed alignment
(16GB). This causes the platform allocator to mmap 64GB - kPageSize,
which may often fail on systems with low reservation limits
(VA_BITS==39), especially with the presence of the V8 Sandbox and
the out-of-line PA metadata.
The CL aims to mitigate it by using the opportunistic strategy:
1) first, relax the requirement of the alignment to be twice the needed
alignment. Instead, just pick the needed half. This will try to
mmap 48GB - kPageSize.
2) if this fails, try to allocate the actual useful reservation size
(16GB) for a few tries until the LSB of the masked out part is 1.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |