buddy fits more than 4GB of memory.

This commit is contained in:
songyanguang 2024-12-19 20:40:29 +08:00
parent 06bb9c4e9b
commit 2087cb7d33
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ Modification:
#include <stdbool.h> #include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#define MAX_BUDDY_ORDER (14) #define MAX_BUDDY_ORDER (15)
#define FREE_LIST_INDEX(order) \ #define FREE_LIST_INDEX(order) \
(1 << order) (1 << order)