2018-09-07 09:47:22 +05:30
|
|
|
#ifndef CONFIG_H
|
|
|
|
#define CONFIG_H
|
|
|
|
|
2018-09-07 11:40:37 +05:30
|
|
|
#include <stdbool.h>
|
|
|
|
|
2018-11-06 02:49:50 +05:30
|
|
|
#define SLAB_QUARANTINE_RANDOM_SIZE 0
|
|
|
|
#define SLAB_QUARANTINE_QUEUE_SIZE 0
|
2018-10-07 01:06:03 +05:30
|
|
|
#define GUARD_SLABS_INTERVAL 1
|
2018-10-07 00:47:55 +05:30
|
|
|
#define GUARD_SIZE_DIVISOR 2
|
2018-10-13 00:33:59 +05:30
|
|
|
#define REGION_QUARANTINE_RANDOM_SIZE 128
|
|
|
|
#define REGION_QUARANTINE_QUEUE_SIZE 1024
|
2018-10-09 01:20:31 +05:30
|
|
|
#define REGION_QUARANTINE_SKIP_THRESHOLD (32 * 1024 * 1024)
|
2018-10-13 23:25:44 +05:30
|
|
|
#define FREE_SLABS_QUARANTINE_RANDOM_SIZE 32
|
2018-09-07 09:47:22 +05:30
|
|
|
|
|
|
|
#endif
|