Commit bdf093e
committed
Fix some hyperthreading errors.
When there are multiple NUMA nodes and hyper-threading causes adjacent logical cores to share a physical core (e.g., common -> avail[i] = 0x5555555555555555UL), the numa_mapping function should not use a bitmask for filtering, as this would lead to redundant masking with the subsequent local_cpu_map function.1 parent fe220a0 commit bdf093e
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
391 | 391 | | |
392 | 392 | | |
393 | 393 | | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
| 399 | + | |
| 400 | + | |
394 | 401 | | |
| 402 | + | |
395 | 403 | | |
396 | 404 | | |
397 | 405 | | |
| |||
930 | 938 | | |
931 | 939 | | |
932 | 940 | | |
| 941 | + | |
| 942 | + | |
| 943 | + | |
933 | 944 | | |
934 | 945 | | |
| 946 | + | |
935 | 947 | | |
936 | 948 | | |
937 | 949 | | |
| |||
0 commit comments