mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2025-04-20 06:20:20 +02:00
shrink initial region table size to fit in 1 page
This commit is contained in:
parent
e7eeb3f35c
commit
f115be8392
1 changed files with 1 additions and 1 deletions
|
@ -772,7 +772,7 @@ struct quarantine_info {
|
||||||
size_t size;
|
size_t size;
|
||||||
};
|
};
|
||||||
|
|
||||||
#define INITIAL_REGION_TABLE_SIZE 256
|
#define INITIAL_REGION_TABLE_SIZE 128
|
||||||
#define MAX_REGION_TABLE_SIZE (CLASS_REGION_SIZE / PAGE_SIZE / sizeof(struct region_metadata))
|
#define MAX_REGION_TABLE_SIZE (CLASS_REGION_SIZE / PAGE_SIZE / sizeof(struct region_metadata))
|
||||||
|
|
||||||
struct region_allocator {
|
struct region_allocator {
|
||||||
|
|
Loading…
Add table
Reference in a new issue