]> git.ipfire.org Git - thirdparty/haproxy.git/commit
REORG: cpu-topo: move bound cpu detection from cpuset to cpu-topo
authorWilly Tarreau <w@1wt.eu>
Wed, 22 Jan 2025 16:17:59 +0000 (17:17 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:30:30 +0000 (18:30 +0100)
commit8c524c7c9d3607cac01ee182fd374fb465417249
treeef05045e79e6082f115429707207e580c1700911
parenta6fdc3eaf0f3c4c5115be3059b3c0e930ade7b05
REORG: cpu-topo: move bound cpu detection from cpuset to cpu-topo

The cpuset files are normally used only for cpu manipulations. It happens
that the initial CPU binding detection was initially placed there since
there was no better place, but in practice, being OS-specific, it should
really be in cpu-topo. This simplifies cpuset which doesn't need to know
about the OS anymore.
include/haproxy/cpu_topo.h
include/haproxy/cpuset.h
src/cfgparse.c
src/cpu_topo.c
src/cpuset.c
src/thread.c