Commit 4ed286b4 authored by Alexandre Julliard's avatar Alexandre Julliard

ntdll: Set a proper HEAP_MIN_DATA_SIZE on 64-bit platforms.

parent 13163349
...@@ -84,7 +84,8 @@ typedef struct tagARENA_FREE ...@@ -84,7 +84,8 @@ typedef struct tagARENA_FREE
#define NOISY 0 /* Report all errors */ #define NOISY 0 /* Report all errors */
/* minimum data size (without arenas) of an allocated block */ /* minimum data size (without arenas) of an allocated block */
#define HEAP_MIN_DATA_SIZE 16 /* make sure that it's larger than a free list entry */
#define HEAP_MIN_DATA_SIZE (2 * sizeof(struct list))
/* minimum size that must remain to shrink an allocated block */ /* minimum size that must remain to shrink an allocated block */
#define HEAP_MIN_SHRINK_SIZE (HEAP_MIN_DATA_SIZE+sizeof(ARENA_FREE)) #define HEAP_MIN_SHRINK_SIZE (HEAP_MIN_DATA_SIZE+sizeof(ARENA_FREE))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment