common/Thread: configure Seastar's memory allocator.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
This commit is contained in:
Radoslaw Zarzynski 2020-06-16 15:25:10 +02:00
parent aadc52e971
commit b55919071f

View File

@ -18,6 +18,10 @@
#include <sys/syscall.h> /* For SYS_xxx definitions */
#endif
#ifdef WITH_SEASTAR
#include "crimson/os/alienstore/alien_store.h"
#endif
#include "common/Thread.h"
#include "common/code_environment.h"
#include "common/debug.h"
@ -81,6 +85,9 @@ void *Thread::entry_wrapper()
_set_affinity(cpuid);
ceph_pthread_setname(pthread_self(), thread_name);
#ifdef WITH_SEASTAR
crimson::os::AlienStore::configure_thread_memory();
#endif
return entry();
}