]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: cfgparse: assign NUMA affinity to cpu-maps
authorWilly Tarreau <w@1wt.eu>
Wed, 19 Jul 2023 08:55:50 +0000 (10:55 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 8 Sep 2023 14:25:19 +0000 (16:25 +0200)
commitb0f20ed79b16180141a270435e8df7906d94b3eb
treea4bd03edb65e6d3035ef1c560fb96e6e33f7bacf
parent809a49da96b174005ce7cbdd3349d82dd48a6bfd
MEDIUM: cfgparse: assign NUMA affinity to cpu-maps

Do not force affinity on the process, instead let's just apply it to
cpu-map, it will automatically be used later in the init process. We
can do this because we know that cpu-map was not set when we're using
this detection code.

This is much saner, as we don't need to manipulate the process' affinity
at this point in time, and just update the info that the user omitted to
set by themselves, which guarantees a better long-term consistency with
the documented feature.
src/cfgparse.c