commit | 81492c989c3898d8492a8d6050a97eccf261107f | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Fri May 03 09:41:23 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri May 03 09:46:45 2019 +0200 |
tree | 3d2ce83ce66d36b467da9cd035e01a725f217590 | |
parent | a48237fd0707a78a353613a45130f4b433b19b0f [diff] |
MINOR: threads: flatten the per-thread cpu-map When we initially experimented with threads and processes support, we needed to implement arrays of threads per process for cpu-map, but this is not needed anymore since we support either threads or processes. Let's simply make the thread-based cpu-map per thread and not per thread and per process since that's not used anymore. Doing so reduces the global struct from 33kB to 1.5kB.