change numa support on linux to use getcpu

This commit is contained in:
daan 2019-11-02 11:55:03 -07:00
parent 70748ee1ee
commit fd9d8c85ae
3 changed files with 14 additions and 37 deletions

View file

@ -413,7 +413,6 @@ typedef struct mi_segments_tld_s {
// OS thread local data
typedef struct mi_os_tld_s {
size_t region_idx; // start point for next allocation
int numa_node; // numa node associated with this thread
mi_stats_t* stats; // points to tld stats
} mi_os_tld_t;