diff --git a/topop.h b/topop.h index 46ecb86..62746c7 100644 --- a/topop.h +++ b/topop.h @@ -5,11 +5,6 @@ #define TOPO_MAX_CHILDREN (256) -#define ALLOC_MAX_OBJS_PER_LVL (256) -#define ALLOC_MEM_OBJ_SIZE (4096) // 4k -#define ALLOC_MEM_OBJ_NUM (1024 * 256) // 4k * 1024 * 256 = 1GB per region -#define ALLOC_MEM_REGION_NUM (4) // 4 x 1GB = 4GB total - struct topo_desc { struct topo_obj * root; int core_to_numa_lookup[TOPO_MAX_CHILDREN]; @@ -18,12 +13,6 @@ struct topo_desc { // ts uint64_t tsc_freq; - - // alloc - pthread_mutex_t alloc_lock; - int mem_idx[ALLOC_MAX_OBJS_PER_LVL]; - int mem_region_idx[ALLOC_MAX_OBJS_PER_LVL]; - void* mem_regions[ALLOC_MAX_OBJS_PER_LVL][ALLOC_MEM_REGION_NUM]; }; int