]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: config: simplify cpu-map handling
authorWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 06:49:05 +0000 (08:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 15 Jun 2021 14:52:42 +0000 (16:52 +0200)
commitbda7c1decd9248ceee1d0b4096566107273b0ab9
tree1d258108d76be49df8d911b6f144e18aa105e21a
parent72faef3866cd624ab670ec40026e5a4716e9d0f5
MEDIUM: config: simplify cpu-map handling

As there's no more nbproc>1, we can remove some loops and tests in cpu-map.
Both the lack of thread number and thread 1 can count as the whole process
now (which is still used for whole process binding when threads are disabled).
src/cfgparse-global.c