google / google/tcmalloc

Add a reliable way to tell if per CPU or per thread caching is being used

Open
#158 4 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.