Add a reliable way to tell if per CPU or per thread caching is being used
Open
- Dominant language
- C++
- Stars
- 5.3k
- Forks
- 570
- Avg merge
- 23h 43m
- Merged PRs (30d)
- 172
Description
When running on Centos7, which is on linux kernel 3.10 and thus shouldn't have RSEQ support, `MallocExtension::PerCpuCachesActive()` returns true, even though per-thread caches are being used (this can be verified by checking the sizes of the per-cpu and per-thread freelists in DumpStats). Either `PerCpuCachesActive` should return false here, or there should be some other way of checking whether per cpu caching or per thread caching is being used.
Contributor guide
Assessment
This issue has not been assessed yet.