Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#pragma once

#include "jemalloc_internal_defs-linux.h"

#undef LG_PAGE
#undef LG_HUGEPAGE

// 64 KiB page size is compatible with 4, 16, 64 KiB
#define LG_PAGE 16

// 2 MiB huge pages are available in all modes
#define LG_HUGEPAGE 21
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# include "jemalloc_internal_defs-win.h"
#elif defined(__linux__) && defined(__arm__)
# include "jemalloc_internal_defs-linux-arm.h"
#elif defined(__linux__) && defined(__aarch64__)
# include "jemalloc_internal_defs-linux-aarch64.h"
#else
# include "jemalloc_internal_defs-linux.h"
#endif