shrink initial region table size to fit in 1 page

This commit is contained in:
Daniel Micay 2019-04-15 00:04:00 -04:00
parent e7eeb3f35c
commit f115be8392

View File

@ -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 {