mirror of
https://github.com/microsoft/mimalloc.git
synced 2025-07-06 19:38:41 +03:00
optimized numa calls; better Linux support
This commit is contained in:
parent
57dd69265a
commit
2c12d7f223
7 changed files with 97 additions and 43 deletions
|
@ -413,6 +413,7 @@ 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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue