Skip to content
Open
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
5 changes: 5 additions & 0 deletions Include/internal/pycore_mimalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ typedef enum {
# define MI_NO_THP 1
// Do not use guarded allocations. The free-threaded GC does not support their block layout.
# define MI_GUARDED 0
// Use 16 KiB pages instead of the default 64 KiB in 64-bit platforms.
// TODO: 32-bit platforms may need tuning too.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may need to tune a 32-bit system, but I prefer to pass at this time.

# if SIZEOF_VOID_P == 8
# define MI_SEGMENT_SLICE_SHIFT 14
# endif
#ifdef Py_DEBUG
# define MI_DEBUG 2
#else
Expand Down
Loading