We've got a user report about heap block allocator overflow.
Bump the L1 capacity of all dense slab allocators to maximum
and be careful to not page the whole L1 array in from .bss.
If OS uses huge pages, this still may cause a limited RSS increase
due to boundary huge pages, but avoiding that looks hard.
Details
Details
- Reviewers
vitalybuka - Commits
- rGaff73487c986: tsan: increase dense slab alloc capacity
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h | ||
---|---|---|
63 | nevermind, either way is fine, it's just internal_memset which must be here |
Comment Actions
PTAL
compiler-rt/lib/tsan/rtl/tsan_dense_alloc.h | ||
---|---|---|
63 | Yes, that was the intention. Not sure what option is better. |
checks can be replaced with static_asserts