mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-11-28 14:21:00 +01:00
CLEANUP: cpuset: remove the unused proc_t1 field in cpu_map
This field used to store the cpumap of the first thread in a group, and was used till 2.4 to hold some default settings, after which it was no longer used. Let's just drop it.
This commit is contained in:
parent
c955659906
commit
f54d8c6457
@ -48,7 +48,6 @@ struct hap_cpuset {
|
||||
};
|
||||
|
||||
struct cpu_map {
|
||||
struct hap_cpuset proc_t1 ; /* list of CPU masks for the 1st thread of the group */
|
||||
struct hap_cpuset thread[MAX_THREADS_PER_GROUP]; /* list of CPU masks for the 32/64 threads of this group */
|
||||
};
|
||||
|
||||
|
||||
@ -1533,7 +1533,6 @@ static void init_early(int argc, char **argv)
|
||||
int g, i;
|
||||
|
||||
for (g = 0; g < MAX_TGROUPS; g++) {
|
||||
ha_cpuset_zero(&cpu_map[g].proc_t1);
|
||||
for (i = 0; i < MAX_THREADS_PER_GROUP; ++i) {
|
||||
ha_cpuset_zero(&cpu_map[g].thread[i]);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user