New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmake: disable mallinfo for jemalloc #12469

merged 1 commit into from Dec 24, 2016


None yet
2 participants

bassam commented Dec 13, 2016

jemalloc does not implement mallinfo. the existing code was using mallinfo from libc even when ceph is compiled to use jemalloc. tcmalloc does support mallinfo

cmake: disable mallinfo for jemalloc
jemalloc does not implement mallinfo. Only check for existence
of mallinfo when the allocator is not jemalloc.

Signed-off-by: Bassam Tabbara <>

@liewegas liewegas merged commit 7bbb79a into ceph:master Dec 24, 2016

3 checks passed

Signed-off-by all commits in this PR are signed
Unmodifed Submodules submodules for project are unmodified
default Build finished.

@bassam bassam deleted the bassam:pr-jemalloc-mallinfo branch Jan 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment