mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-03 02:34:17 +03:00
Disable percpu_arena by default.
This commit is contained in:
parent
196a53c2ae
commit
36195c8f4d
5 changed files with 36 additions and 11 deletions
|
|
@ -29,12 +29,7 @@ typedef enum {
|
|||
percpu_arena_mode_limit = 3
|
||||
} percpu_arena_mode_t;
|
||||
|
||||
#ifdef JEMALLOC_PERCPU_ARENA
|
||||
#define PERCPU_ARENA_MODE_DEFAULT percpu_arena
|
||||
#define OPT_PERCPU_ARENA_DEFAULT "percpu"
|
||||
#else
|
||||
#define PERCPU_ARENA_MODE_DEFAULT percpu_arena_disabled
|
||||
#define OPT_PERCPU_ARENA_DEFAULT "disabled"
|
||||
#endif
|
||||
|
||||
#endif /* JEMALLOC_INTERNAL_ARENA_TYPES_H */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue