]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: cfgparse: move the binding detection into numa_detect_topology()
authorWilly Tarreau <w@1wt.eu>
Thu, 6 Jul 2023 13:48:27 +0000 (15:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commit1560827c9dec022b4d567817fab6b831a06af084
tree9bfc90b8b7f56a89d928c036fdc5106793938ea5
parentac1db9db7d8df773850d8401b7f5b283addd81e9
MINOR: cfgparse: move the binding detection into numa_detect_topology()

For now the function refrains from detecting the CPU topology when a
restrictive taskset or cpu-map was already performed on the process,
and it's documented as such, the reason being that until we're able
to automatically create groups, better not change user settings. But
we'll need to be able to detect bound CPUs and to process them as
desired by the user, so we now need to move that detection into the
function itself. It changes nothing to the logic, just gives more
freedom to the function.
src/cfgparse.c