]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: thread: now remove the temporary CPU node binding code
authorWilly Tarreau <w@1wt.eu>
Tue, 11 Mar 2025 16:14:03 +0000 (17:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 14 Mar 2025 17:33:16 +0000 (18:33 +0100)
commitaaa4080b8bd41f1eff52da99a4f3f2084f398f90
treeb88a034cae78a9670da177912f53f4cac54be0b3
parent56d939866b8c7d6c551dd87c44333e8f3c7ac888
CLEANUP: thread: now remove the temporary CPU node binding code

This is now superseded by the default "safe" cpu-policy, and every time
it's used, that code was bypassed anyway since global.nbthread was set.
We can now safely remove it. Note that for other policies which do not
set a thread count nor further restrict CPUs (such as "none", or even
"safe" when finding a single node), we continue to go through the fallback
code that automatically assigns CPUs to threads and counts them.
src/thread.c