Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
These interact quite poorly with MRS with revocation enabled, which implements realloc() by always creating a new allocation. Even a modification to return the original pointer if its bounds satisfy the request doesn't help much there. Apply a simple bandaid: grow the allocation exponentially. This has no major downside except when virtual address space is scarce, and that's something we don't typically worry about. There doesn't appear to be any explicit justification for growing buffers so conservatively.
- Loading branch information